diff options
Diffstat (limited to 'main/curl/APKBUILD')
-rw-r--r-- | main/curl/APKBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/main/curl/APKBUILD b/main/curl/APKBUILD new file mode 100644 index 0000000000..c54e9ce316 --- /dev/null +++ b/main/curl/APKBUILD @@ -0,0 +1,27 @@ +# Maintainer: Carlo Landmeter <clandmeter at gmail.com> +pkgname=curl +pkgver=7.19.5 +pkgrel=0 +pkgdesc="An URL retrival utility and library" +url="http://curl.haxx.se" +license="MIT" +depends="zlib uclibc openssl" +makedepends="zlib-dev openssl-dev" +source="http://curl.haxx.se/download/$pkgname-$pkgver.tar.bz2" + +subpackages="$pkgname-doc $pkgname-dev" + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --without-libidn \ + --disable-ldap + make || return 1 + make DESTDIR="$pkgdir" install + + # fix permissions for curl-config + chmod +x "$pkgdir"/usr/bin/curl-config +} + +md5sums="426d161661dce70c8ea9ad8f553363a3 curl-7.19.5.tar.bz2" |