void-packages/srcpkgs/curlpp/template

35 lines
816 B
Bash
Raw Normal View History

2016-05-17 14:17:44 +00:00
# Template file for 'curlpp'
pkgname=curlpp
version=0.7.3
revision=2
2016-05-17 14:17:44 +00:00
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=b72093f221a9e2d0f7ce0bd0f846587835e01607a7bb0f106ff4317a8c30a81c
CPPFLAGS="-Wno-error=unused-function -O2"
2016-05-17 14:17:44 +00:00
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
}
}