From 4a46979247add2031547fdb3370b9bce160a775f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 28 Feb 2012 10:10:30 +0100 Subject: [PATCH] New package: chroot-patch-2.6.1. --- srcpkgs/chroot-patch/chroot-patch.rshlibs | 1 + srcpkgs/chroot-patch/template | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 srcpkgs/chroot-patch/chroot-patch.rshlibs create mode 100644 srcpkgs/chroot-patch/template diff --git a/srcpkgs/chroot-patch/chroot-patch.rshlibs b/srcpkgs/chroot-patch/chroot-patch.rshlibs new file mode 100644 index 00000000000..631aa1dda40 --- /dev/null +++ b/srcpkgs/chroot-patch/chroot-patch.rshlibs @@ -0,0 +1 @@ +libc.so.6 diff --git a/srcpkgs/chroot-patch/template b/srcpkgs/chroot-patch/template new file mode 100644 index 00000000000..3df9dbc15c4 --- /dev/null +++ b/srcpkgs/chroot-patch/template @@ -0,0 +1,22 @@ +# Template file for 'chroot-patch' +pkgname=chroot-patch +version=2.6.1 +wrksrc="patch-${version}" +distfiles="http://ftp.gnu.org/gnu/patch/patch-$version.tar.bz2" +build_style=gnu-configure +short_desc="Patch files using diff output -- for xbps-src use" +maintainer="Juan RP " +checksum=1d1441380c92ed8572049411406964a0a987aefd228be3abb8623eca1f3ced8a +long_desc=" + patch takes a patch file containing a difference listing produced by diff + and applies those differences to one or more original files, producing + patched versions. + + This package is only meant to be used by xbps-src, don't install it manually." + +bootstrap=yes +conflicts="patch>=0" + +post_install() { + rm -rf ${DESTDIR}/usr/share +}