blob: 701863e4817d4d9f8cc046883398aed8eb1ba42a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Description: Le programme de sauvegarde de GNU
# URL: http://www.gnu.org/software/tar/tar.html
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
name=tar
version=1.26
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
build() {
cd $name-$version
sed -i '/gets is a security hole/d' gnu/stdio.in.h
FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr \
--bindir=/bin \
--libexecdir=/usr/sbin
make
make DESTDIR=$PKG install
if [ -f $PKG/usr/share/info/dir ]; then
rm $PKG/usr/share/info/dir
fi
}
|