summaryrefslogtreecommitdiffstats
path: root/curl/Pkgfile
blob: 6a6bd56a98a311c2910787ba90f0158e64b3dfff (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 \
		${CBUILD:+--build=${CBUILD}} \
		${CHOST:+--host=${CHOST}} \
		--prefix=$prefix \
		--mandir=$mandir \
		--enable-ipv6;
	make;
	make DESTDIR=$PKG install
}