Commit | Line | Data |
---|---|---|
6dca1d21 JB |
1 | # Description: GNU patch |
2 | # URL: http://www.gnu.org/software/patch/patch.html | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
9e534f3f | 5 | # Depends on: |
6dca1d21 JB |
6 | |
7 | name=patch | |
2549831c | 8 | version=2.7.1 |
6dca1d21 | 9 | release=1 |
2549831c | 10 | source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) |
6dca1d21 JB |
11 | |
12 | build() { | |
9e534f3f | 13 | cd $name-$version |
9e534f3f JB |
14 | ./configure --build=$CHOST \ |
15 | --host=$CTARGET \ | |
1844ed75 VM |
16 | --prefix=/usr \ |
17 | --mandir=/usr/man | |
9e534f3f | 18 | |
2549831c | 19 | make |
1844ed75 | 20 | make DESTDIR=$PKG install |
6dca1d21 | 21 | } |