summaryrefslogtreecommitdiff
path: root/social/poco/PKGBUILD
blob: d8c541d1d3175d5a75459b321a17d273305f364a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Maintainer (Arch): Rodrigo Grumiche Silva <grumiche at integrityit dot com dot br>
# Contributor (Arch): nozog
# Contributor (Arch): davidhjelm
# Contributor (Arch): Ray Kohler <ataraxia937 at gmail dot com>
# Contributor (Arch): Nathan Owe < ndowens04 at gmail dot com>

pkgname=poco
pkgver=1.4.2p1
pkgrel=1
pkgdesc="C++ class libraries for network-centric, portable applications,
complete edition"
arch=('i686' 'x86_64')
url="http://www.pocoproject.org/"
license=('custom:boost')
depends=('unixodbc' 'libmysqlclient' 'openssl')
makedepends=('gcc' 'make' 'unixodbc' 'libmysqlclient' 'openssl' 'chrpath')
options=()
source=(http://downloads.sourceforge.net/poco/$pkgname-$pkgver-all.tar.bz2)

build() {
 cd $srcdir/$pkgname-$pkgver-all
 ./configure --prefix=/usr --no-samples --no-tests
 make
}


package() {
 cd $srcdir/$pkgname-$pkgver-all

 make DESTDIR=$pkgdir install

 install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE

 #removing rpath information from binaries
 chrpath -d $pkgdir/usr/bin/cpspc
 chrpath -d $pkgdir/usr/bin/cpspcd
 chrpath -d $pkgdir/usr/bin/f2cpspd
 chrpath -d $pkgdir/usr/bin/f2cpsp

 #removing debugging libraries
 rm $pkgdir/usr/lib/libPoco*d.so*
}

md5sums=('752e5f5545377be24ee7c7b6b479fbbe')