Commit | Line | Data |
---|---|---|
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 | |
4 | # Arch Maintainer: CRUX-ARM System | |
5 | ||
6 | name=patch | |
7 | version=2.5.9 | |
8 | release=1 | |
9 | source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz) | |
10 | ||
11 | build() { | |
12 | cd $name-$version | |
13 | ./configure --build=$CHOST \ | |
14 | --host=$CTARGET \ | |
15 | --prefix=/usr | |
16 | make | |
17 | make prefix=$PKG/usr install | |
18 | } |