From 42c38ca73f0b043b29cfdaddf4a2afac2ad65c03 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 28 Mar 2009 17:06:40 +0100 Subject: [PATCH] Added run-parts-3.0 from Debian's debianutils package. --HG-- extra : convert_revision : e6483012f80b47cb58dc372a79ce46c174f64edf --- templates/run-parts/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 templates/run-parts/template diff --git a/templates/run-parts/template b/templates/run-parts/template new file mode 100644 index 0000000000..f0fa5e09dd --- /dev/null +++ b/templates/run-parts/template @@ -0,0 +1,23 @@ +# Template file for 'run-parts' +pkgname=run-parts +version=3.0 +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 " +checksum=af2f5d55d20aa172e78e929d696a1a2866ac8f0c2a13b7179743154e0dc33f19 +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_install() +{ + cd ${wrksrc} + ./configure --prefix=/usr + make + install -D -m755 run-parts ${DESTDIR}/usr/bin/run-parts + install -D -m644 run-parts.8 ${DESTDIR}/usr/share/man/man8/run-parts.8 +}