diff --git a/srcpkgs/chroot-coreutils/patches/disable-man.patch b/srcpkgs/chroot-coreutils/patches/disable-man.patch new file mode 100644 index 0000000000..30ec64e567 --- /dev/null +++ b/srcpkgs/chroot-coreutils/patches/disable-man.patch @@ -0,0 +1,20 @@ +--- Makefile.in.orig 2014-01-08 09:01:48.970245932 +0100 ++++ Makefile.in 2014-01-08 09:02:23.283386875 +0100 +@@ -7390,7 +7390,7 @@ check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local + check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-recursive +-all-am: Makefile $(INFO_DEPS) $(LIBRARIES) $(PROGRAMS) $(MANS) \ ++all-am: Makefile $(LIBRARIES) $(PROGRAMS) \ + $(HEADERS) all-local + installdirs: installdirs-recursive + installdirs-am: +@@ -7558,7 +7558,7 @@ install-info-am: $(INFO_DEPS) + install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\ + done; \ + else : ; fi +-install-man: install-man1 ++install-man: + + install-pdf: install-pdf-recursive + diff --git a/srcpkgs/chroot-coreutils/template b/srcpkgs/chroot-coreutils/template index a41e1b6b3e..be4666328c 100644 --- a/srcpkgs/chroot-coreutils/template +++ b/srcpkgs/chroot-coreutils/template @@ -1,8 +1,11 @@ # Template file for 'chroot-coreutils' pkgname=chroot-coreutils -version=8.17 -revision=3 -wrksrc=coreutils-${version} +version=8.22 +revision=1 +wrksrc="${pkgname/chroot-}-${version}" +bootstrap=yes +provides="coreutils-${version}_${revision}" +conflicts="coreutils>=0" build_style=gnu-configure configure_args="--without-gmp --disable-libcap --disable-xattr --disable-acl --disable-rpath --disable-nls @@ -13,12 +16,9 @@ maintainer="Juan RP " homepage="http://www.gnu.org/software/coreutils" license="GPL-3" distfiles="http://ftp.gnu.org/gnu/coreutils/coreutils-$version.tar.xz" -checksum=4e075a0d238072a5bd079046e1f024dc5e0d9133d43a39c73d0b86b0d1e2c5e5 +checksum=5b3e94998152c017e6c75d56b9b994188eb71bf46d4038a642cb9141f6ff1212 -bootstrap=yes -provides="coreutils-${version}" -conflicts="coreutils>=0" - -pre_configure() { - sed -i 's/^\(SUBDIRS =\).*/\1 lib src/g' Makefile.in +post_install() { + rm -rf ${DESTDIR}/usr/lib + rm -rf ${DESTDIR}/usr/share }