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