aboutsummaryrefslogtreecommitdiffstats
path: root/main/libevent/APKBUILD
blob: e9810dbf3c4108964ddb8e416d3462806a44cf3f (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libevent
pkgver=1.4.14b
pkgrel=0
pkgdesc="An event notification library"
url="http://www.monkey.org/~provos/libevent/"
arch="all"
license="GPL-2"
depends=
makedepends=
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.monkey.org/~provos/$pkgname-$pkgver-stable.tar.gz"

build() {
	cd $srcdir/$pkgname-$pkgver-stable
	./configure --prefix=/usr --sysconfdir=/etc
	make || return 1
}

package() {
	cd $srcdir/$pkgname-$pkgver-stable
	make -j1 DESTDIR=$pkgdir install || return 1
}
md5sums="a00e037e4d3f9e4fe9893e8a2d27918c  libevent-1.4.14b-stable.tar.gz"