Commit | Line | Data |
---|---|---|
6dca1d21 JB |
1 | # Description: A tool for transfering files with URL syntax |
2 | # URL: http://curl.haxx.se | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
6dca1d21 JB |
5 | # Depends on: openssl zlib |
6 | ||
7 | name=curl | |
1f802c76 | 8 | version=7.20.0 |
6dca1d21 JB |
9 | release=1 |
10 | source=(http://curl.haxx.se/download/$name-$version.tar.bz2) | |
11 | ||
12 | build() { | |
de59bce0 JB |
13 | cd $name-$version |
14 | ||
15 | echo "ac_cv_file___dev_urandom_=yes" > config.cache | |
16 | ./configure --build=$CHOST \ | |
17 | --host=$CTARGET \ | |
18 | --prefix=/usr \ | |
19 | --mandir=/usr/man \ | |
20 | --enable-ipv6 \ | |
21 | --cache-file=config.cache | |
22 | ||
23 | make | |
24 | make DESTDIR=$PKG install | |
6dca1d21 | 25 | } |