aboutsummaryrefslogtreecommitdiffstats
path: root/main/curl/APKBUILD
blob: 380d934aa83abd35b5da1eced56275c2b04289d2 (plain) (blame)
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
# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
pkgname=curl
pkgver=7.19.7
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.osmirror.nl/download/curl-$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
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install
}

md5sums="79a8fbb2eed5464b97bdf94bee109380  curl-7.19.7.tar.bz2"