From f5c4cfe6946b11d62f16e833369367dbf5008671 Mon Sep 17 00:00:00 2001
From: Thierry N <thierryn1 at hispeed dot ch>
Date: Fri, 7 Aug 2009 14:09:41 +0200
Subject: Ajout de patch#2.5.9-1

---
 base/patch/.footprint |  7 +++++++
 base/patch/.md5sum    |  2 ++
 base/patch/Pkgfile    | 20 ++++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 100644 base/patch/.footprint
 create mode 100644 base/patch/.md5sum
 create mode 100755 base/patch/Pkgfile

(limited to 'base')

diff --git a/base/patch/.footprint b/base/patch/.footprint
new file mode 100644
index 000000000..21758defe
--- /dev/null
+++ b/base/patch/.footprint
@@ -0,0 +1,7 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/bin/
+-rwxr-xr-x	root/root	usr/bin/patch
+drwxr-xr-x	root/root	usr/share/
+drwxr-xr-x	root/root	usr/share/man/
+drwxr-xr-x	root/root	usr/share/man/man1/
+-rw-r--r--	root/root	usr/share/man/man1/patch.1.gz
diff --git a/base/patch/.md5sum b/base/patch/.md5sum
new file mode 100644
index 000000000..2ffdeb24b
--- /dev/null
+++ b/base/patch/.md5sum
@@ -0,0 +1,2 @@
+a2f0901f42e87ad3d5fefbccee6a09f4  patch-2.5.9-fixes-1.patch
+dacfb618082f8d3a2194601193cf8716  patch-2.5.9.tar.gz
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
+}
-- 
cgit v1.2.3-70-g09d2