2014-02-04 17:54:22 +01:00
|
|
|
# Template file for 'liblogging'
|
|
|
|
pkgname=liblogging
|
2014-12-09 12:52:01 +01:00
|
|
|
version=1.0.5
|
2014-09-16 23:27:57 +02:00
|
|
|
revision=1
|
2014-02-04 17:54:22 +01:00
|
|
|
build_style=gnu-configure
|
2014-09-16 23:27:57 +02:00
|
|
|
configure_args="--disable-static $(vopt_enable systemd journal)"
|
2014-12-09 12:52:01 +01:00
|
|
|
hostmakedepends="pkg-config"
|
2014-09-16 23:27:57 +02:00
|
|
|
makedepends="$(vopt_if systemd systemd-devel)"
|
2014-02-04 17:54:22 +01:00
|
|
|
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-12-09 12:52:01 +01:00
|
|
|
checksum=310dc1691279b7a669d383581fe4b0babdc7bf75c9b54a24e51e60428624890b
|
2014-02-04 17:54:22 +01:00
|
|
|
|
2014-04-26 10:10:56 +02:00
|
|
|
# Package build options
|
|
|
|
build_options="systemd"
|
|
|
|
|
2014-02-04 17:54:22 +01: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"
|
|
|
|
}
|
|
|
|
}
|