void-packages/srcpkgs/htmlcxx/template

24 lines
664 B
Bash

# Template file for 'htmlcxx'
pkgname=htmlcxx
version=0.87
revision=1
build_style=gnu-configure
short_desc="Simple non-validating CSS1 and HTML parser for C++"
maintainer="RunningDroid <runningdroid@zoho.com>"
license="LGPL-2.0-or-later"
homepage="http://htmlcxx.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/htmlcxx/${version}/htmlcxx-${version}.tar.gz"
checksum=5d38f938cf4df9a298a5346af27195fffabfef9f460fc2a02233cbcfa8fc75c8
export CXXFLAGS="-std=c++14"
htmlcxx-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}