void-packages/srcpkgs/run-parts/template

29 lines
826 B
Text
Raw Normal View History

# Template file for 'run-parts'
pkgname=run-parts
2010-11-03 16:42:22 +00:00
version=3.4.1
wrksrc="debianutils-${version}"
2010-11-03 16:42:22 +00:00
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>"
2010-11-03 16:42:22 +00:00
checksum=0839acc0c1ab359e7921ae6a7bbb82491107b2fc721d61aa33b2cc96de9ec2c5
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()
{
2010-11-03 16:42:22 +00:00
cd ${wrksrc} && ./configure --prefix=/usr && \
make ${makejobs} run-parts || 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
}