void-packages/srcpkgs/ctpp2/template

28 lines
706 B
Bash
Raw Normal View History

2017-09-30 21:23:47 +02:00
# Template file for 'ctpp2'
pkgname=ctpp2
version=2.8.3
revision=1
build_style=cmake
configure_args="-DENABLE_OPTIMIZATION=OFF -DSKIP_RELINK_RPATH=ON -DBUILD_TESTING=OFF"
makedepends="libressl-devel"
short_desc="HTML template engine for c++"
maintainer="John <johnz@posteo.net>"
license="BSD-3-clause"
homepage="http://ctpp.havoc.ru"
distfiles="http://ctpp.havoc.ru/download/ctpp2-${version}.tar.gz"
checksum=a83ffd07817adb575295ef40fbf759892512e5a63059c520f9062d9ab8fb42fc
post_install() {
vlicense LICENSE
}
ctpp2-devel_package() {
short_desc+=" - development package"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}