APKBUILD 626 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.7
4
pkgrel=1
Carlo Landmeter's avatar
Carlo Landmeter committed
5 6 7
pkgdesc="An URL retrival utility and library"
url="http://curl.haxx.se"
license="MIT"
Natanael Copa's avatar
Natanael Copa committed
8
depends=
9
makedepends="zlib-dev openssl-dev"
Natanael Copa's avatar
Natanael Copa committed
10
source="http://curl.osmirror.nl/download/curl-$pkgver.tar.bz2"
Carlo Landmeter's avatar
Carlo Landmeter committed
11 12 13 14

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
Natanael Copa's avatar
Natanael Copa committed
21
}
22

Natanael Copa's avatar
Natanael Copa committed
23 24 25
package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install
Carlo Landmeter's avatar
Carlo Landmeter committed
26 27
}

Natanael Copa's avatar
Natanael Copa committed
28
md5sums="79a8fbb2eed5464b97bdf94bee109380  curl-7.19.7.tar.bz2"