aboutsummaryrefslogtreecommitdiffstats
path: root/main/curl/APKBUILD
blob: f7d6c504f1fbd69d6bdf238d39199b3ada2c9fa5 (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
28
29
# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
pkgname=curl
pkgver=7.20.1
pkgrel=1
pkgdesc="An URL retrival utility and library"
url="http://curl.haxx.se"
license="MIT"
depends=
makedepends="zlib-dev openssl-dev"
source="http://curl.haxx.se/download/curl-$pkgver.tar.bz2"
subpackages="$pkgname-doc $pkgname-dev"

_builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--without-libidn \
		--disable-ldap
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="244b16b2a38c70e47130c8494b7371b9  curl-7.20.1.tar.bz2"