From a9015fe26b99cf49e5cc95919b5fb97b6119a77a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 28 Feb 2012 10:50:10 +0100 Subject: [PATCH] New package: chroot-findutils-4.4.2. --- .../chroot-findutils/chroot-findutils.rshlibs | 3 ++ srcpkgs/chroot-findutils/template | 29 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 srcpkgs/chroot-findutils/chroot-findutils.rshlibs create mode 100644 srcpkgs/chroot-findutils/template diff --git a/srcpkgs/chroot-findutils/chroot-findutils.rshlibs b/srcpkgs/chroot-findutils/chroot-findutils.rshlibs new file mode 100644 index 00000000000..28a1aa0b679 --- /dev/null +++ b/srcpkgs/chroot-findutils/chroot-findutils.rshlibs @@ -0,0 +1,3 @@ +librt.so.1 +libm.so.6 +libc.so.6 diff --git a/srcpkgs/chroot-findutils/template b/srcpkgs/chroot-findutils/template new file mode 100644 index 00000000000..d8cebe7555c --- /dev/null +++ b/srcpkgs/chroot-findutils/template @@ -0,0 +1,29 @@ +# Template file for 'chroot-findutils' +pkgname=chroot-findutils +version=4.4.2 +wrksrc="findutils-${version}" +homepage="http://www.gnu.org/software/findutils" +distfiles="http://ftp.gnu.org/gnu/findutils/findutils-$version.tar.gz" +build_style=gnu-configure +configure_args="--disable-nls" +short_desc="The GNU Find Utilities -- for xbps-src use" +maintainer="Juan RP " +license="GPL-3" +checksum=434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a +long_desc=" + The GNU Find Utilities are the basic directory searching utilitiesof the + GNU operating system. These programs are typically used in conjunction with + other programs to provide modular and powerful directory search and file + locating capabilities to other commands. + + This package is only meant to be used by xbps-src, don't install it manually." + +bootstrap=yes +conflicts="findutils>=0" + +post_install() { + for f in locate oldfind updatedb; do + rm -f ${DESTDIR}/usr/bin/${f} + done + rm -rf ${DESTDIR}/usr/share ${DESTDIR}/usr/libexec +}