updated on Thu Jan 12 20:00:29 UTC 2012
[aur-mirror.git] / curlpp / PKGBUILD
blobead6e6a4f49ad5cb3fcd71974839cab4d8c5d971
1 # Maintainer: oke3 <Sekereg at gmx dot com
2 # Contributor: Andreas Baumann <abaumann@yahoo.com>
4 pkgname=curlpp
5 pkgver=0.7.3
6 pkgrel=2
7 pkgdesc="C++ wrapper for libcURL"
8 arch=('i686' 'x86_64')
9 url="http://code.google.com/p/curlpp/"
10 makedepends=('curl' 'boost' 'bc')
11 depends=('curl' 'boost')
12 license=('MIT')
13 source=(http://curlpp.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
14 sha512sums=('8c0209b74a191049262c29e2f3cd7dc4de44621d060453b553627884d042a11cba5cc76398c3e831f084cb3a69fd8ccab1ac3e12820d42e3d1188bba2d5070e9')
16 build() {
17     cd "${srcdir}/${pkgname}-${pkgver}"
19     ./configure --prefix=/usr
21     make
24 package() {
25     cd "${srcdir}/${pkgname}-${pkgver}"
27     make DESTDIR="${pkgdir}" install
29     # Include config.h
30     install -m644 include/curlpp/config.h "${pkgdir}/usr/include/curlpp"
32     # License
33     install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"