void-packages/srcpkgs/curlpp/template

35 lines
816 B
Bash
Raw Normal View History

2016-05-17 16:17:44 +02:00
# Template file for 'curlpp'
pkgname=curlpp
2017-01-05 15:17:33 +01:00
version=0.7.4
revision=1
2016-05-17 16:17:44 +02: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"
2017-01-05 15:17:33 +01:00
checksum=3316741ec4c140f42c3d3f1ee421739ae4ae4266371aa9846edc4844da39c4df
2016-05-17 16:17:44 +02:00
CPPFLAGS="-Wno-error=unused-function -O2"
2016-05-17 16:17:44 +02: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
}
}