Contents of /branches/R11-stable/extras/makeself/makeself-2.1.5-r1.smage2
Parent Directory | Revision Log
Revision 10990 -
(show annotations)
(download)
Mon Feb 6 21:33:09 2012 UTC (12 years, 7 months ago) by niro
Original Path: trunk/extras/makeself/makeself-2.1.5-r1.smage2
File size: 819 byte(s)
Mon Feb 6 21:33:09 2012 UTC (12 years, 7 months ago) by niro
Original Path: trunk/extras/makeself/makeself-2.1.5-r1.smage2
File size: 819 byte(s)
-imported from NEXT
1 | # $Id$ |
2 | |
3 | PNAME="makeself" |
4 | PVER="2.1.5" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="app-arch" |
8 | |
9 | DESCRIPTION="A shell script that generates a self-extractible tar.gz" |
10 | HOMEPAGE="http://www.megastep.org/makeself/" |
11 | |
12 | DEPEND=">= sys-apps/tar-1 |
13 | >= app-arch/bzip2-1 |
14 | >= app-arch/gzip-1" |
15 | |
16 | SRCFILE="${PNAME}.run-${PVER}" |
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
18 | |
19 | sminclude mtools |
20 | |
21 | SRC_URI=( mirror://${PNAME}/${SRCFILE} ) |
22 | |
23 | UP2DATE="updatecmd ${HOMEPAGE} | grep current | sed 's/.*\ version\ is \(.*\), .*/\1/'" |
24 | |
25 | src_prepare() |
26 | { |
27 | # unpack makeself archive |
28 | sh ${SOURCEDIR}/${PNAME}/${SRCFILE} --target ${SRCDIR} || die |
29 | } |
30 | |
31 | src_install() |
32 | { |
33 | cd ${SRCDIR} |
34 | |
35 | minstallexec makeself-header.sh || die |
36 | minstallexec makeself.sh || die |
37 | mlink makeself.sh /usr/bin/makeself || die |
38 | |
39 | minstallman makeself.1 || die |
40 | minstalldocs COPYING README TODO makeself.lsm || die |
41 | } |