summaryrefslogtreecommitdiffstats
path: root/wget/Pkgfile
blob: cd1eaa2ea76c521d6d1c50a7350ecbe1d8bf96e9 (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
25
26
27
28
# Description: Utilitaire pour télécharger le contenu de pages Web
# URL: http://www.gnu.org/software/wget/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: 

name=wget
version=1.14
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)

build() {
	cd $name-$version

	# glibc 2.16.0 fix
	sed -i '/gets is a security hole/d' lib/stdio.in.h

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--disable-debug \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--with-ssl=openssl \
		--without-libidn
	make
	make prefix=$PKG/usr mandir=$PKG/usr/share/man infodir=$PKG/usr/share/info install
	rm $PKG/usr/share/info/dir
}