Magellan Linux

Contents of /trunk/nonfree/makeself/makeself-2.1.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20694 - (show annotations) (download)
Mon Feb 3 13:30:53 2014 UTC (10 years, 3 months ago) by niro
File size: 819 byte(s)
-moved to 'nonfree'
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 }