From 8cdb9d83f7a987a4af35b28c64b680cd9b57005a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 28 Feb 2012 11:26:57 +0100 Subject: [PATCH] New package: chroot-file-5.11. --- srcpkgs/chroot-file/chroot-file.rshlibs | 2 ++ srcpkgs/chroot-file/template | 26 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 srcpkgs/chroot-file/chroot-file.rshlibs create mode 100644 srcpkgs/chroot-file/template diff --git a/srcpkgs/chroot-file/chroot-file.rshlibs b/srcpkgs/chroot-file/chroot-file.rshlibs new file mode 100644 index 0000000000..91de33a0a5 --- /dev/null +++ b/srcpkgs/chroot-file/chroot-file.rshlibs @@ -0,0 +1,2 @@ +libz.so.1 +libc.so.6 diff --git a/srcpkgs/chroot-file/template b/srcpkgs/chroot-file/template new file mode 100644 index 0000000000..c45c5c082c --- /dev/null +++ b/srcpkgs/chroot-file/template @@ -0,0 +1,26 @@ +# Template file for 'chroot-file' +pkgname=chroot-file +version=5.11 +wrksrc="file-${version}" +distfiles="ftp://ftp.astron.com/pub/file/file-$version.tar.gz" +build_style=gnu-configure +configure_args="--disable-shared" +short_desc="File type identification utility -- for xbps-src use" +maintainer="Juan RP " +homepage="http://www.darwinsys.com/file/" +license="BSD" +checksum=c70ae29a28c0585f541d5916fc3248c3e91baa481f63d7ccec53d1534cbcc9b7 +long_desc=" + File attempts to classify files depending on their contents and prints + a description if a match is found. + + This package is only meant to be used by xbps-src, don't install it manually." + +Add_dependency build zlib-devel + +bootstrap=yes +conflicts="file>=0" + +post_install() { + rm -rf ${DESTDIR}/usr/share/man ${DESTDIR}/usr/lib ${DESTDIR}/usr/include +}