# Template file for 'run-parts'
pkgname=run-parts
version=4.0.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>"
homepage="http://packages.qa.debian.org/d/debianutils.html"
license="GPL-2"
checksum=c2fca92e93437ea5f0904f12847779d67b13d4b9d6ca85b8213e678a03ed76dc
long_desc="
 $pkgname runs all the executable files found in a directory.
 This package comes from the GNU/Linux Debian system."

Add_dependency run glibc

do_build()
{
	./configure --prefix=/usr
	make ${makejobs} run-parts
}

do_install()
{
	vinstall run-parts 755 usr/bin
	vinstall run-parts.8 644 usr/share/man/man8
}
