APKBUILD 677 Bytes
Newer Older
1
# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
Carlo Landmeter's avatar
Carlo Landmeter committed
2
pkgname=curl
Natanael Copa's avatar
Natanael Copa committed
3
pkgver=7.19.6
Carlo Lanmdeter's avatar
Carlo Lanmdeter committed
4
pkgrel=0
Carlo Landmeter's avatar
Carlo Landmeter committed
5 6 7
pkgdesc="An URL retrival utility and library"
url="http://curl.haxx.se"
license="MIT"
8
depends="zlib uclibc openssl"
9
makedepends="zlib-dev openssl-dev"
Carlo Landmeter's avatar
Carlo Landmeter committed
10 11 12 13 14
source="http://curl.haxx.se/download/$pkgname-$pkgver.tar.bz2"

subpackages="$pkgname-doc $pkgname-dev"

build() {
15 16 17 18 19
	cd "$srcdir/$pkgname-$pkgver"
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--without-libidn \
		--disable-ldap
Carlo Landmeter's avatar
Carlo Landmeter committed
20
	make || return 1
21 22 23 24
	make DESTDIR="$pkgdir" install

	# fix permissions for curl-config
	chmod +x "$pkgdir"/usr/bin/curl-config
Carlo Landmeter's avatar
Carlo Landmeter committed
25 26
}

Natanael Copa's avatar
Natanael Copa committed
27
md5sums="8402c1f654c51ad7287aad57c3aa79be  curl-7.19.6.tar.bz2"