28 lines
828 B
Bash
28 lines
828 B
Bash
# Template file for 'liblogging'
|
|
pkgname=liblogging
|
|
version=1.0.5
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static $(vopt_enable systemd journal)"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="$(vopt_if systemd systemd-devel)"
|
|
short_desc="Easy to use, portable, open source library for system logging"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="LGPL-2.1"
|
|
homepage="http://www.liblogging.org/"
|
|
distfiles="http://download.rsyslog.com/liblogging/${pkgname}-${version}.tar.gz"
|
|
checksum=310dc1691279b7a669d383581fe4b0babdc7bf75c9b54a24e51e60428624890b
|
|
|
|
# Package build options
|
|
build_options="systemd"
|
|
|
|
liblogging-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|