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 | |
57f40171 | 8 | version=3.6 |
17e3f5fe | 9 | release=1 |
57f40171 | 10 | source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.xz) |
6dca1d21 JB |
11 | |
12 | build() { | |
13 | cd $name-$version | |
14 | ./configure --build=$CHOST \ | |
15 | --host=$CTARGET \ | |
16 | --prefix=/usr \ | |
57f40171 VM |
17 | --disable-nls \ |
18 | gl_cv_func_getopt_gnu=yes | |
8edf4cd2 | 19 | |
6dca1d21 JB |
20 | make |
21 | make prefix=$PKG/usr install | |
d2faa2ff | 22 | rm -rf $PKG/usr/share/info |
6dca1d21 | 23 | } |