vp-build/srcpkgs/run-parts/template
Juan RP cee86eb88b run-parts: split build stuff into do_build().
--HG--
extra : convert_revision : c505870422bbc9d2ccdb19503c180417d38ac99f
2010-01-16 03:11:38 +01:00

30 lines
820 B
Plaintext

# Template file for 'run-parts'
pkgname=run-parts
version=3.2.2
wrksrc="debianutils-${version}"
distfiles="${DEBIAN_SITE}/main/d/debianutils/debianutils_${version}.tar.gz"
build_style=custom-install
short_desc="Run scripts or programs in a directory"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=03d73b5f621aa432f683eb96b1080844fcc6135e6b64f43b9c34f82e74175e7e
long_desc="
$pkgname runs all the executable files found in a directory.
This package comes from the GNU/Linux Debian system."
Add_dependency full glibc
do_build()
{
cd ${wrksrc} || return 1
./configure --prefix=/usr || return 1
make || return 1
}
do_install()
{
install -D -m755 ${wrksrc}/run-parts \
${DESTDIR}/usr/bin/run-parts || return 1
install -D -m644 ${wrksrc}/run-parts.8 \
${DESTDIR}/usr/share/man/man8/run-parts.8 || return 1
}