summaryrefslogtreecommitdiffstats
path: root/curl/Pkgfile
blob: 592aace4fe793d0139de93a0ca852141b2d5b4f8 (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="A tool for transfering files with URL syntax."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://curl.haxx.se"
# In core because needed by the pkgutils and many usefull tools.
depends=(openssl zlib)

name=curl
version=7.21.2
release=1
source=(http://curl.haxx.se/download/$name-$version.tar.lzma)
build () 
{ 
	cd $name-$version;
	./configure \
		${CHOST:+--build=${CHOST}} \
		${CTARGET:+--host=${CTARGET}} \
		--prefix=$prefix \
		--mandir=$mandir \
		--enable-ipv6;
	make;
	make DESTDIR=$PKG install
}