void-packages/srcpkgs/curlpp/template

35 lines
816 B
Bash

# Template file for 'curlpp'
pkgname=curlpp
version=0.7.4
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
makedepends="libcurl-devel boost-devel"
short_desc="C++ wrapper for libcURL"
maintainer="Asaf Ohayon <asaf@sysbind.co.il>"
license="MIT"
homepage="http://www.curlpp.org/"
distfiles="https://github.com/jpbarrette/curlpp/archive/v${version}.tar.gz"
checksum=3316741ec4c140f42c3d3f1ee421739ae4ae4266371aa9846edc4844da39c4df
CPPFLAGS="-Wno-error=unused-function -O2"
pre_configure() {
./autogen.sh
}
post_install() {
vlicense COPYING
}
curlpp-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}