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 | |
60122977 | 4 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org |
9e534f3f | 5 | # Depends on: |
6dca1d21 JB |
6 | |
7 | name=patch | |
9e534f3f | 8 | version=2.6 |
6dca1d21 JB |
9 | release=1 |
10 | source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz) | |
11 | ||
12 | build() { | |
9e534f3f JB |
13 | cd $name-$version |
14 | ||
15 | ./configure --build=$CHOST \ | |
16 | --host=$CTARGET \ | |
17 | --prefix=/usr | |
18 | ||
19 | make | |
20 | make prefix=$PKG/usr install | |
6dca1d21 | 21 | } |