Commit | Line | Data |
---|---|---|
6dca1d21 JB |
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 | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
6dca1d21 JB |
5 | # Depends on: |
6 | ||
7 | name=diffutils | |
a91d5259 | 8 | version=3.6 |
368ff49a | 9 | release=1 |
a91d5259 | 10 | source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.xz) |
6dca1d21 JB |
11 | |
12 | build() { | |
13 | cd $name-$version | |
8edf4cd2 | 14 | |
6dca1d21 JB |
15 | ./configure --build=$CHOST \ |
16 | --host=$CTARGET \ | |
17 | --prefix=/usr \ | |
a91d5259 VM |
18 | --disable-nls \ |
19 | gl_cv_func_getopt_gnu=yes | |
8edf4cd2 | 20 | |
6dca1d21 JB |
21 | make |
22 | make prefix=$PKG/usr install | |
d2faa2ff | 23 | rm -rf $PKG/usr/share/info |
6dca1d21 | 24 | } |