1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
5 pkgdesc="C++ library for simple Postscript, SVG, and XFig drawings"
6 url="http://libboard.sourceforge.net"
10 source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-${pkgver}-2.tar.gz" gcc4.4.1.diff)
11 md5sums=('d462ca619221090f72649f40aa4e0fa7' '6887d24c7c2bc5ca6051d0d3c29238c6')
13 cd $srcdir/$pkgname-$pkgver
14 patch -p1 < $srcdir/gcc4.4.1.diff || return 1
15 ./configure --prefix=/usr || return 1
16 make CXXFLAGSOBJ="-ansi -pedantic -Wall -W -I./include -fPIC" || return 1
17 make PREFIX=$pkgdir/usr install || return 1
18 chmod 644 $pkgdir/usr/share/$pkgname/examples/*.cpp || return 1
19 rm $pkgdir/usr/share/$pkgname/LICENSE.gz || return 1
20 install -d $pkgdir/usr/share/doc/$pkgname || return 1
21 cp -r doc/* $pkgdir/usr/share/doc/$pkgname || return 1
22 rm -r $pkgdir/usr/share/doc/$pkgname/html/.svn || return 1