1 # Maintainer: Rodrigo Grumiche Silva <grumiche at integrityit dot com dot br>
3 # Contributor: davidhjelm
4 # Contributor: Ray Kohler <ataraxia937 at gmail dot com>
5 # Contributor: Nathan Owe < ndowens04 at gmail dot com>
11 pkgdesc="C++ class libraries for network-centric, portable applications,
13 arch=('i686' 'x86_64')
14 url="http://www.pocoproject.org/"
15 license=('custom:boost')
16 depends=('unixodbc' 'libmysqlclient' 'openssl')
17 makedepends=('gcc' 'make' 'unixodbc' 'libmysqlclient' 'openssl' 'chrpath')
19 source=(http://downloads.sourceforge.net/poco/$pkgname-$pkgver-all.tar.bz2)
20 #sha512sums=('d3687c7b79f9de25ad3e6415d7fdb561a0bc947097d29bc6d0c84f8267ab2db6f0c0d38648a0608d0e14dc5cf1e5ae58497a8f0ea1acc77b74207c0c7335dfd2')
21 md5sums=('752e5f5545377be24ee7c7b6b479fbbe')
25 cd $srcdir/$pkgname-$pkgver-all
26 ./configure --prefix=/usr --no-samples --no-tests
33 cd $srcdir/$pkgname-$pkgver-all
34 make DESTDIR=$pkgdir install
35 install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
36 #removing rpath information from binaries
37 chrpath -d $pkgdir/usr/bin/cpspc || return 1
38 chrpath -d $pkgdir/usr/bin/cpspcd || return 1
39 chrpath -d $pkgdir/usr/bin/f2cpspd || return 1
40 chrpath -d $pkgdir/usr/bin/f2cpsp || return 1
41 #removing debugging libraries
42 rm $pkgdir/usr/lib/libPoco*d.so* || return 1