| 1 | # Description: Package with the GNU diff, diff3, sdiff, and cmp utilities |
| 2 | # URL: http://www.gnu.org/software/diffutils/ |
| 3 | # Maintainer: CRUX System Team, core-ports at crux dot nu |
| 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 5 | # Depends on: |
| 6 | |
| 7 | name=diffutils |
| 8 | version=2.9 |
| 9 | release=1 |
| 10 | source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz) |
| 11 | |
| 12 | build() { |
| 13 | cd $name-$version |
| 14 | ./configure --build=$CHOST \ |
| 15 | --host=$CTARGET \ |
| 16 | --prefix=/usr \ |
| 17 | --mandir=$PKG/usr/man \ |
| 18 | --disable-nls |
| 19 | make |
| 20 | make prefix=$PKG/usr install |
| 21 | rm -rf $PKG/usr/share |
| 22 | } |