void-packages/srcpkgs/curlpp/template
2017-03-14 10:13:13 +00:00

28 lines
688 B
Bash

# Template file for 'curlpp'
pkgname=curlpp
version=0.8.1
revision=1
build_style=cmake
makedepends="libcurl-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=97e3819bdcffc3e4047b6ac57ca14e04af85380bd93afe314bee9dd5c7f46a0a
post_install() {
vlicense doc/LICENSE
}
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
}
}