void-packages/srcpkgs/commoncpp2/template

29 lines
764 B
Bash

# Template file for 'commoncpp2'
pkgname=commoncpp2
version=1.8.1
revision=2
build_style=gnu-configure
makedepends="zlib-devel"
short_desc="GNU Common C++ 2"
maintainer="David <kalichakra@zoho.com>"
license="GPL-3.0-or-later"
homepage='http://www.gnu.org/software/commoncpp/'
distfiles="${GNU_SITE}/commoncpp/$pkgname-${version}.tar.gz"
checksum="53ced4aff74e28a1d8018eb2b4974519028db3c12471ab6dff1c873578c9af4e"
export CXXFLAGS="-std=c++14"
commoncpp2-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/ccgnu2-config
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/info
vmove usr/share/aclocal
}
}