summaryrefslogtreecommitdiffstats
path: root/wget/Pkgfile
blob: 6209af1884e9ea4d40cd17ada9fc53ea075197de (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.13.4
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
}