void-packages/srcpkgs/libevent/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

25 lines
730 B
Bash

# Template file for 'libevent'
pkgname=libevent
version=2.0.22
revision=3
wrksrc="$pkgname-$version-stable"
build_style=gnu-configure
makedepends="libressl-devel"
short_desc="Abstract asynchronous event notification library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.monkey.org/~provos/libevent/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/levent/$pkgname-$version-stable.tar.gz"
checksum=71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3
libevent-devel_package() {
depends="${makedepends} ${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
}
}