diff options
Diffstat (limited to 'main/libevent')
-rw-r--r-- | main/libevent/APKBUILD | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/main/libevent/APKBUILD b/main/libevent/APKBUILD index 6c92d35c2e..6eb0134c27 100644 --- a/main/libevent/APKBUILD +++ b/main/libevent/APKBUILD @@ -1,27 +1,31 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libevent -pkgver=2.0.18 +pkgver=2.0.19 pkgrel=0 pkgdesc="An event notification library" -url="http://www.monkey.org/~provos/libevent/" +url="http://libevent.org/" arch="all" -license="GPL-2" -depends= -makedepends="wget" +license="BSD" +depends="" +depends_dev="" +makedepends="openssl-dev" subpackages="$pkgname-dev" -source="https://github.com/downloads/libevent/libevent/libevent-$pkgver-stable.tar.gz - " +source="https://github.com/downloads/libevent/libevent/libevent-$pkgver-stable.tar.gz" +_builddir="$srcdir"/$pkgname-$pkgver-stable build() { - cd $srcdir/$pkgname-$pkgver-stable - ./configure --prefix=/usr \ - --sysconfdir=/etc + cd "$_builddir" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --disable-static || return 1 make || return 1 } package() { - cd $srcdir/$pkgname-$pkgver-stable + cd "$_builddir" make -j1 DESTDIR=$pkgdir install || return 1 - rm "$pkgdir"/usr/lib/*.la + rm "$pkgdir"/usr/lib/*.la || return 1 } -md5sums="aa1ce9bc0dee7b8084f6855765f2c86a libevent-2.0.18-stable.tar.gz" + +md5sums="91111579769f46055b0a438f5cc59572 libevent-2.0.19-stable.tar.gz" |