summaryrefslogtreecommitdiffstats
path: root/curl/Pkgfile
blob: c6674cf54b7a3fa6863ba0b5265d5e876db9ac99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Permet le transfer de fichiers en ligne de commande, protocoles: http, https, ftp, telnet, etc
# URL: http://curl.haxx.se/
# Packager: thierryn1 at hispeed dot ch
# Depends on: libidn
# Run on: libidn

name=curl
version=7.21.7
release=2
source=(http://curl.haxx.se/download/$name-$version.tar.bz2 )


build() {
	cd $name-$version
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-ipv6 --disable-ldap
	make
	make DESTDIR=$PKG install
	echo "/* not used */" > $PKG/usr/include/curl/types.h
}