diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-02-11 13:59:51 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-02-11 13:59:51 +0000 |
commit | ef1350cc961368a90f33b85c5285861185afe057 (patch) | |
tree | df37c407a25ec25841d4dd14b7af32fce11f6668 /core | |
parent | abef6c43843030183791c3185555e1122c829b3e (diff) | |
download | aports-ef1350cc961368a90f33b85c5285861185afe057.tar.bz2 aports-ef1350cc961368a90f33b85c5285861185afe057.tar.xz |
core/curl: moved from extra
git needs it
Diffstat (limited to 'core')
-rw-r--r-- | core/curl/APKBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/core/curl/APKBUILD b/core/curl/APKBUILD new file mode 100644 index 0000000000..b1b60bfcf9 --- /dev/null +++ b/core/curl/APKBUILD @@ -0,0 +1,27 @@ +# Maintainer: Carlo Landmeter <clandmeter at gmail.com> +pkgname=curl +pkgver=7.19.2 +pkgrel=1 +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="3a461b145a4a31fe7d5a44684e7fbdbc curl-7.19.2.tar.bz2" |