summaryrefslogtreecommitdiffstats
path: root/curl/Pkgfile
blob: c1117cb4c716b4e2b7cd798b5903e69b3cba6722 (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.26.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 \
		--disable-ldap
	make
	make DESTDIR=$PKG install
	sed "s|-lz|-lz -ldl|" -i $PKG/usr/lib/pkgconfig/libcurl.pc
}