vp-build/templates/tar/base.template
Juan RP 97821bf458 tar: base subpkg needs gzip/bzip2 at runtime.
--HG--
extra : convert_revision : 0a96b7b56b2630c28d6c8e3738570b44c554ec6c
2009-02-22 15:33:12 +01:00

20 lines
466 B
Plaintext

# Template file for 'tar-base'.
#
short_desc="${short_desc} (base files)"
long_desc="${long_desc}
This package contains the ${sourcepkg} base files."
run_depends="bzip2-base-0 gzip-base-0"
. ${XBPS_TEMPLATESDIR}/glibc/libs.depends
do_install()
{
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
mkdir -p ${destdir}/usr
mv ${origdir}/usr/bin ${destdir}/usr
mv ${origdir}/usr/libexec ${destdir}/usr
}