From a88a5ee15f60f3f9c31c2be76c95787ed3c12e57 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 6 Jun 2014 11:17:05 +0200 Subject: [PATCH] libevent: modernize. --- srcpkgs/libevent/template | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/srcpkgs/libevent/template b/srcpkgs/libevent/template index f9e30987fa5..016649c6e24 100644 --- a/srcpkgs/libevent/template +++ b/srcpkgs/libevent/template @@ -1,10 +1,9 @@ # Template file for 'libevent' pkgname=libevent version=2.0.21 -revision=3 +revision=4 wrksrc="$pkgname-$version-stable" build_style=gnu-configure -configure_args="--disable-static" makedepends="openssl-devel" short_desc="Abstract asynchronous event notification library" maintainer="Juan RP " @@ -14,11 +13,13 @@ distfiles="https://github.com/downloads/$pkgname/$pkgname/$pkgname-$version-stab checksum=22a530a8a5ba1cb9c080cba033206b17dacd21437762155c6d30ee6469f574f5 libevent-devel_package() { - depends="openssl-devel libevent>=${version}" + depends="openssl-devel ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/bin vmove usr/include vmove usr/lib/pkgconfig + vmove usr/lib/*.a + vmove usr/lib/*.so } }