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 | |
11a1256d | 8 | version=2.7.6 |
6dca1d21 | 9 | release=1 |
11a1256d | 10 | source=(http://ftpmirror.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 \ | |
08f64e4e | 16 | --prefix=/usr |
9e534f3f | 17 | |
626b747c | 18 | make |
1844ed75 | 19 | make DESTDIR=$PKG install |
6dca1d21 | 20 | } |