diff options
Diffstat (limited to 'base/patch/Pkgfile')
-rwxr-xr-x | base/patch/Pkgfile | 20 |
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 +} |