2014-02-04 17:54:22 +01:00
|
|
|
# Template file for 'liblogging'
|
|
|
|
pkgname=liblogging
|
2014-09-16 23:27:57 +02:00
|
|
|
version=1.0.4
|
|
|
|
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)"
|
|
|
|
hostmakedepends="pkg-config automake libtool"
|
|
|
|
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-09-16 23:27:57 +02:00
|
|
|
checksum=aceb5d2aa8bdc771ff66f407f9adf4176b654db63e34a8605795b68be537b81c
|
2014-02-04 17:54:22 +01:00
|
|
|
|
2014-04-26 10:10:56 +02:00
|
|
|
# Package build options
|
|
|
|
build_options="systemd"
|
|
|
|
|
2014-09-16 23:27:57 +02:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
2014-04-26 10:10:56 +02:00
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|