| 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, devel@crux-arm.nu |
| 5 | # Depends on: openssl zlib |
| 6 | |
| 7 | name=curl |
| 8 | version=7.20.0 |
| 9 | release=1 |
| 10 | source=(http://curl.haxx.se/download/$name-$version.tar.bz2) |
| 11 | |
| 12 | build() { |
| 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 |
| 25 | } |