void-packages/srcpkgs/log4cxx/template

25 lines
759 B
Bash

# Template file for 'log4cxx'
pkgname=log4cxx
version=1.0.0
revision=2
build_style=cmake
hostmakedepends="pkg-config zip"
makedepends="libxml2-devel apr-devel apr-util-devel gdbm-devel boost-devel"
short_desc="C++ Logging Library based on Log4J"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://logging.apache.org/log4cxx/"
distfiles="https://archive.apache.org/dist/logging/log4cxx/${version}/apache-log4cxx-${version}.tar.gz"
checksum=6df9f1f682650de6045309473d5b2fe1f798a03ceb36a74a5b21f5520962d32f
log4cxx-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}