2016-05-17 14:17:44 +00:00
|
|
|
# Template file for 'curlpp'
|
|
|
|
pkgname=curlpp
|
|
|
|
version=0.7.3
|
2016-07-27 06:19:37 +00:00
|
|
|
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
|
|
|
|
|
2016-07-27 06:21:52 +00:00
|
|
|
CPPFLAGS="-Wno-error=unused-function -O2"
|
2016-05-17 14:17:44 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
./autogen.sh
|
|
|
|
}
|
|
|
|
post_install() {
|
|
|
|
vlicense COPYING
|
|
|
|
}
|
|
|
|
|
2016-07-27 06:19:37 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|