summaryrefslogtreecommitdiffstats
path: root/base/patch/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-07 14:09:41 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-07 14:09:41 +0200
commitf5c4cfe6946b11d62f16e833369367dbf5008671 (patch)
tree2fda236524381a18b18f4eb0e0106bfcfbd93d34 /base/patch/Pkgfile
parent4ac553ce55fbe78ea1497a5bad3833a03fea7f1c (diff)
downloadnutyx-pakxe-f5c4cfe6946b11d62f16e833369367dbf5008671.tar.gz
nutyx-pakxe-f5c4cfe6946b11d62f16e833369367dbf5008671.tar.bz2
nutyx-pakxe-f5c4cfe6946b11d62f16e833369367dbf5008671.tar.xz
nutyx-pakxe-f5c4cfe6946b11d62f16e833369367dbf5008671.zip
Ajout de patch#2.5.9-1
Diffstat (limited to 'base/patch/Pkgfile')
-rwxr-xr-xbase/patch/Pkgfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/base/patch/Pkgfile b/base/patch/Pkgfile
new file mode 100755
index 000000000..126eb2a07
--- /dev/null
+++ b/base/patch/Pkgfile
@@ -0,0 +1,20 @@
+# Description: GNU patch
+# URL: http://www.gnu.org/software/patch/patch.html
+# Maintainer: Linux From Scratch
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: module-init-tools
+
+name=patch
+version=2.5.9
+release=1
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \
+http://www.linuxfromscratch.org/patches/lfs/development/patch-$version-fixes-1.patch)
+build() {
+cd $name-$version
+patch -Np1 -i ../patch-$version-fixes-1.patch
+./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+make
+make prefix=$PKG/usr mandir=$PKG/usr/share/man install
+}