aboutsummaryrefslogtreecommitdiffstats
path: root/main/apr-util/APKBUILD
blob: dcf8b71eee504fec05ef90c29f47d4e8199b7cec (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
30
31
32
33
34
35
36
37
38
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=apr-util
pkgver=1.3.9
pkgrel=3
pkgdesc="The Apache Portable Runtime"
url="http://apr.apache.org/"
license="APACHE"
depends=
subpackages="$pkgname-dev"
makedepends="apr-dev expat-dev bash"
depends_dev="expat-dev apr-dev"
source="http://www.apache.org/dist/apr/$pkgname-$pkgver.tar.bz2"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./configure --prefix=/usr \
		--with-apr=/usr \
		--without-iconv \
		--without-pgsql \
		--without-mysql \
		--without-sqlite2 \
		--without-sqlite3 \
		--without-berkeley-db \
		--without-gdbm \
		--without-ldap-lib

	make || return 1
}

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

	# we dont need this one
	rm "$pkgdir"/usr/lib/*.exp
}

md5sums="29dd557f7bd891fc2bfdffcfa081db59  apr-util-1.3.9.tar.bz2"