1 # Maintainer: Lambert CLARA <lambert.clara at yahoo dot fr>
5 pkgdesc="A fully type-safe, extensible, extremely efficient C++ logging API library."
7 url="http://www.pantheios.org"
10 depends=('stlsoft>=1.9.111')
11 makedepends=('gcc>=4.6.0')
20 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-1.0.1-beta213.zip
23 md5sums=('e0064fdbc3ef35fe8ec0c35f4f0b03b5'
24 '404d26b3a13654fdb1d71383b0129b51')
28 if [ $CARCH == "x86_64" ]; then
29 echo "64bits architecture detected, use gcc46.unix.file64bit"
30 cd $srcdir/$pkgname-${pkgver/_/-}/build/gcc46.unix.file64bit
32 echo "Using gcc46.unix"
33 cd $srcdir/$pkgname-${pkgver/_/-}/build/gcc46.unix
36 make build.libs || return 1
38 mkdir -p $pkgdir/usr/include/$pkgname
39 mkdir -p $pkgdir/usr/lib
41 cp -r $srcdir/$pkgname-${pkgver/_/-}/include $pkgdir/usr/include/$pkgname
43 # cleanup of useless readme file
44 rm $srcdir/$pkgname-${pkgver/_/-}/lib/readme.html
46 cp -r $srcdir/$pkgname-${pkgver/_/-}/lib $pkgdir/usr/lib/$pkgname
48 install -d "${pkgdir}/etc/profile.d"
49 install -d "${pkgdir}/usr/share/licenses/$pkgname"
50 install -m755 "${srcdir}/$pkgname.sh" "${pkgdir}/etc/profile.d/" || return 1
51 install -D -m644 $srcdir/$pkgname-${pkgver/_/-}/LICENSE.txt ${pkgdir}/usr/share/licenses/$pkgname/ || return 1
54 # vim:set ts=2 sw=2 et: