Commit f6be32cb authored by Natanael Copa's avatar Natanael Copa

extra/curl: fix permissions for curl-config

while there, also fix add some style fixes and set correct
makedepends
parent 6c12198a
# 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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment