blob: 126eb2a07829ac9b4662f24d4947450fd4401ffd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
}
|