aboutsummaryrefslogtreecommitdiffstats
path: root/main/libevent
diff options
context:
space:
mode:
Diffstat (limited to 'main/libevent')
-rw-r--r--main/libevent/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/main/libevent/APKBUILD b/main/libevent/APKBUILD
index 78016bf85f..67e0e954a8 100644
--- a/main/libevent/APKBUILD
+++ b/main/libevent/APKBUILD
@@ -1,14 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libevent
pkgver=2.0.21
-pkgrel=0
+pkgrel=1
pkgdesc="An event notification library"
url="http://libevent.org/"
arch="all"
license="BSD"
depends=""
-depends_dev=""
-makedepends="openssl-dev"
+depends_dev="python"
+makedepends="$depends_dev openssl-dev"
subpackages="$pkgname-dev"
source="https://github.com/downloads/libevent/libevent/libevent-$pkgver-stable.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver-stable
@@ -28,4 +28,9 @@ package() {
rm "$pkgdir"/usr/lib/*.la || return 1
}
+dev() {
+ default_dev
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+}
+
md5sums="b2405cc9ebf264aa47ff615d9de527a2 libevent-2.0.21-stable.tar.gz"