void-packages/srcpkgs/librlog/template

27 lines
749 B
Bash

# Template file for 'librlog'
pkgname=librlog
version=1.4
revision=5
wrksrc="rlog-$version"
build_style=gnu-configure
short_desc="Flexible message logging facility for C++ programs and libraries"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1-or-later"
homepage="http://www.arg0.net/rlog"
distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/rlog/rlog-$version.tar.gz"
checksum=a938eeedeb4d56f1343dc5561bc09ae70b24e8f70d07a6f8d4b6eed32e783f79
post_install() {
rm -rf ${DESTDIR}/usr/share/doc
}
librlog-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}