void-packages/templates/findutils/template
Juan RP 84222395b8 Provide some vars for use in template's targets.
These new vars are DESTDIR (by default XBPS_DESTDIR/pkgname-version),
SRCPKGDESTDIR (XBPS_DESTDIR/sourcepkg-version) and FILESDIR
(XBPS_TEMPLATESDIR/pkgname/files).

This simplifies packages that used them.

--HG--
extra : convert_revision : 287ea7128cb5df19870ca7aff0a3b8f99a11d63a
2009-03-11 06:31:56 +01:00

25 lines
847 B
Text

# Template file for 'findutils'
pkgname=findutils
version=4.4.0
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--localstatedir=/var/lib/locate"
make_install_args="
localstatedir=$XBPS_DESTDIR/$pkgname-$version/var/lib/locate"
short_desc="The GNU Find Utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=fb108c2959f17baf3559da9b3854495b9bb69fb13309fdd05576c66feb661ea9
long_desc="
The GNU Find Utilities are the basic directory searching utilitiesof the
GNU operating system. These programs are typically used in conjunction with
other programs to provide modular and powerful directory search and file
locating capabilities to other commands."
base_chroot=yes
Add_dependency run glibc
post_install()
{
sed -i -e "s|$XBPS_MASTERDIR||g" ${DESTDIR}/usr/bin/updatedb
}