| 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 at crux-arm dot nu |
| 5 | # Depends on: openssl zlib |
| 6 | |
| 7 | name=curl |
| 8 | version=7.28.0 |
| 9 | release=1 |
| 10 | source=(http://curl.haxx.se/download/$name-$version.tar.lzma) |
| 11 | |
| 12 | build() { |
| 13 | cd $name-$version |
| 14 | |
| 15 | ./configure --build=$CHOST \ |
| 16 | --host=$CTARGET \ |
| 17 | --prefix=/usr \ |
| 18 | --mandir=/usr/man \ |
| 19 | --enable-ipv6 \ |
| 20 | --without-libidn \ |
| 21 | --enable-threaded-resolver |
| 22 | |
| 23 | make |
| 24 | make DESTDIR=$PKG install |
| 25 | } |