aboutsummaryrefslogtreecommitdiffstats
path: root/main/curl/APKBUILD
blob: c5e37a80144b6efc5a4328bae78aaf6609246ab1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
pkgname=curl
pkgver=7.19.6
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="8402c1f654c51ad7287aad57c3aa79be  curl-7.19.6.tar.bz2"