summaryrefslogtreecommitdiffstats
path: root/curl/Pkgfile
blob: 3a98e5148577ff2dee34ad46aaec077280f66ca1 (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
	make
	make DESTDIR=$PKG install
	echo "/* not used */" > $PKG/usr/include/curl/types.h
}