Commit | Line | Data |
---|---|---|
6dca1d21 JB |
1 | # Description: GNU tar |
2 | # URL: http://www.gnu.org/software/tar/tar.html | |
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 |
1c4d5d09 | 5 | # Depends on: |
6dca1d21 JB |
6 | |
7 | name=tar | |
cca57dba VM |
8 | version=1.29 |
9 | release=1 | |
396f78f4 | 10 | source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) |
6dca1d21 JB |
11 | |
12 | build() { | |
1c4d5d09 | 13 | cd $name-$version |
396f78f4 | 14 | |
1c4d5d09 JB |
15 | ./configure --build=$CHOST \ |
16 | --host=$CTARGET \ | |
17 | --prefix= \ | |
18 | --libexec=/usr/lib/tar \ | |
396f78f4 | 19 | --mandir=/usr/share/man \ |
90858e88 VM |
20 | --disable-nls \ |
21 | FORCE_UNSAFE_CONFIGURE=1 | |
22 | ||
1c4d5d09 JB |
23 | make |
24 | make DESTDIR=$PKG install | |
396f78f4 | 25 | rm -rf $PKG/share |
6dca1d21 | 26 | } |