void-packages/srcpkgs/run-parts/template
2010-05-05 23:58:33 +02:00

29 lines
821 B
Text

# Template file for 'run-parts'
pkgname=run-parts
version=3.2.3
wrksrc="debianutils-${version}"
distfiles="${DEBIAN_SITE}/main/d/debianutils/debianutils_${version}.tar.bz2"
build_style=custom-install
short_desc="Run scripts or programs in a directory"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=3c6dee491bb93e92f0e3da8065eddf937f6b584ad72cd09b1e2bd05b66be07b9
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
}