summaryrefslogtreecommitdiffstats
path: root/curl/Pkgfile
blob: f43cfa433c00aeec22a7b43b723c27a83f8a96d5 (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.27.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
}