void-packages/srcpkgs/liblogging/template

35 lines
982 B
Text
Raw Normal View History

2014-02-04 16:54:22 +00:00
# Template file for 'liblogging'
pkgname=liblogging
2014-03-17 11:38:45 +00:00
version=1.0.2
revision=2
2014-02-04 16:54:22 +00:00
build_style=gnu-configure
2014-03-17 11:42:22 +00:00
configure_args="--disable-static --enable-cached-man-pages"
2014-02-04 16:54:22 +00:00
hostmakedepends="pkg-config"
short_desc="Easy to use, portable, open source library for system logging"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://www.liblogging.org/"
distfiles="http://download.rsyslog.com/liblogging/${pkgname}-${version}.tar.gz"
2014-03-17 11:38:45 +00:00
checksum=1fecfdc506ee937c21c30d868c76842506dc34ea5eb168b81fd11eb9483e4388
2014-02-04 16:54:22 +00:00
# Package build options
build_options="systemd"
desc_option_systemd="Enable support for systemd journal"
if [ "$build_option_systemd" ]; then
configure_args+=" --enable-journal"
makedepends+=" systemd-devel"
else
configure_args+=" --disable-journal"
fi
2014-02-04 16:54:22 +00:00
liblogging-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}