2010-12-23 02:12:47 +01:00
|
|
|
# Template file for 'makeself'
|
|
|
|
pkgname=makeself
|
|
|
|
version=2.1.5
|
|
|
|
distfiles="http://megastep.org/$pkgname/$pkgname-$version.run"
|
2012-05-23 18:26:56 +02:00
|
|
|
fulldepends="tar gzip bzip2>=0"
|
2012-06-03 09:08:53 +02:00
|
|
|
revision=1
|
2010-12-23 02:12:47 +01:00
|
|
|
short_desc="Make self-extractable archives on Unix"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum=8227668bb35c34d86e6f0fe69c7bf4bd2813f51edfcbfc227896b4787b0a1a4e
|
|
|
|
long_desc="
|
|
|
|
makeself.sh is a small shell script that generates a self-extractable tar.gz
|
|
|
|
archive from a directory. The resulting file appears as a shell script
|
|
|
|
(many of those have a .run suffix), and can be launched as is. The archive
|
|
|
|
will then uncompress itself to a temporary directory and an optional arbitrary
|
|
|
|
command will be executed (for example an installation script). This is pretty
|
|
|
|
similar to archives generated with WinZip Self-Extractor in the Windows world.
|
|
|
|
Makeself archives also include checksums for integrity self-validation
|
|
|
|
(CRC and/or MD5 checksums)."
|
|
|
|
|
|
|
|
noarch=yes
|
|
|
|
noextract=yes
|
|
|
|
|
|
|
|
|
|
|
|
do_build()
|
|
|
|
{
|
|
|
|
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}.run .
|
|
|
|
chmod +x ${pkgname}-${version}.run
|
|
|
|
./${pkgname}-${version}.run
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
local f
|
|
|
|
|
|
|
|
cd ${wrksrc}/${pkgname}-${version}
|
|
|
|
install -d ${DESTDIR}/usr/share/man/man1
|
|
|
|
for f in makeself makeself-header; do
|
|
|
|
install -D -m755 ${f}.sh ${DESTDIR}/usr/bin/${f}
|
|
|
|
done
|
|
|
|
install -m644 *.1 ${DESTDIR}/usr/share/man/man1
|
|
|
|
}
|