a92d370caa
Generated with: git ls-files 'srcpkgs/**/patches/*' | cut -d/ -f2 | uniq | xargs printf 'srcpkgs/%s/template\n' | xargs grep -L 'patch_args=' | xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
25 lines
769 B
Bash
25 lines
769 B
Bash
# Template file for 'log4cxx'
|
|
pkgname=log4cxx
|
|
version=0.10.0
|
|
revision=4
|
|
build_style=gnu-configure
|
|
makedepends="libxml2-devel apr-devel apr-util-devel gdbm-devel"
|
|
short_desc="A C++ Logging Library based on Log4J"
|
|
maintainer="John Regan <john@jrjrtech.com>"
|
|
license="Apache-2.0"
|
|
homepage="https://logging.apache.org/log4cxx/"
|
|
distfiles="http://apache.osuosl.org/logging/log4cxx/${version}/apache-log4cxx-${version}.tar.gz"
|
|
checksum=0de0396220a9566a580166e66b39674cb40efd2176f52ad2c65486c99c920c8c
|
|
wrksrc="apache-${pkgname}-${version}"
|
|
patch_args=-Np0
|
|
|
|
log4cxx-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|