aboutsummaryrefslogtreecommitdiffstats
path: root/main/libevent/APKBUILD
blob: 6c92d35c2e7f57150dd5bc304fb51054a0248d7c (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libevent
pkgver=2.0.18
pkgrel=0
pkgdesc="An event notification library"
url="http://www.monkey.org/~provos/libevent/"
arch="all"
license="GPL-2"
depends=
makedepends="wget"
subpackages="$pkgname-dev"
source="https://github.com/downloads/libevent/libevent/libevent-$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
	rm "$pkgdir"/usr/lib/*.la
}
md5sums="aa1ce9bc0dee7b8084f6855765f2c86a  libevent-2.0.18-stable.tar.gz"