void-packages/srcpkgs/cppdb/template

27 lines
644 B
Bash

# Template file for 'cppdb'
pkgname=cppdb
version=0.3.1
revision=2
build_style=cmake
makedepends="libpqxx-devel"
short_desc="SQL Connectivity Library"
maintainer="Asaf Ohayon <asaf@sysbind.co.il>"
license="MIT"
homepage="http://cppcms.com/sql/cppdb/"
distfiles="${SOURCEFORGE_SITE}/cppcms/cppdb/${version}/cppdb-${version}.tar.bz2"
checksum=d60eef5a732d8f84ef5e4a2845a8cefc543a6c75bf3782589c2cf6aa150b992e
post_install() {
vlicense MIT.txt LICENSE
}
cppdb-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}