summaryrefslogtreecommitdiffstats
path: root/curl/Pkgfile
blob: ba0123ffaa140934519cb622cf94d03dba8d6462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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.24.0
release=1
source=(http://curl.haxx.se/download/$name-$version.tar.lzma)

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
}