aboutsummaryrefslogtreecommitdiffstats
path: root/extra/curl/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2008-12-08 15:39:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2008-12-08 15:39:05 +0000
commitf6be32cbbda1b503462f7e87f735e5338e2da2db (patch)
tree1c264f4162987845aa8a891949b00a7522bee320 /extra/curl/APKBUILD
parent6c12198aaded039e69d5bb4ca7c79b97b3d49d6f (diff)
downloadaports-f6be32cbbda1b503462f7e87f735e5338e2da2db.tar.gz
aports-f6be32cbbda1b503462f7e87f735e5338e2da2db.tar.bz2
aports-f6be32cbbda1b503462f7e87f735e5338e2da2db.tar.xz
extra/curl: fix permissions for curl-config
while there, also fix add some style fixes and set correct makedepends
Diffstat (limited to 'extra/curl/APKBUILD')
-rw-r--r--extra/curl/APKBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/extra/curl/APKBUILD b/extra/curl/APKBUILD
index 20deb381d5..b1b60bfcf9 100644
--- a/extra/curl/APKBUILD
+++ b/extra/curl/APKBUILD
@@ -1,20 +1,27 @@
-# Maintainer:Carlo Landmeter
+# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
pkgname=curl
pkgver=7.19.2
-pkgrel=0
+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 $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr --mandir=/usr/share/man --without-libidn --disable-ldap
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --without-libidn \
+ --disable-ldap
make || return 1
- make prefix=$startdir/pkg/usr mandir=$startdir/pkg/usr/share/man install
+ make DESTDIR="$pkgdir" install
+
+ # fix permissions for curl-config
+ chmod +x "$pkgdir"/usr/bin/curl-config
}
md5sums="3a461b145a4a31fe7d5a44684e7fbdbc curl-7.19.2.tar.bz2"