blob: 6eb0134c275dbbe5d2c6b520221506908475a08b (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libevent
pkgver=2.0.19
pkgrel=0
pkgdesc="An event notification library"
url="http://libevent.org/"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends="openssl-dev"
subpackages="$pkgname-dev"
source="https://github.com/downloads/libevent/libevent/libevent-$pkgver-stable.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver-stable
build() {
cd "$_builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-static || return 1
make || return 1
}
package() {
cd "$_builddir"
make -j1 DESTDIR=$pkgdir install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="91111579769f46055b0a438f5cc59572 libevent-2.0.19-stable.tar.gz"
|