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 | |
4 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org | |
5 | # Depends on: openssl zlib | |
6 | ||
7 | name=curl | |
de59bce0 | 8 | version=7.19.7 |
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 | } |