#Packager: George Vlahavas pkgname=ftgl pkgver=2.1.3rc5 pkgrel=1gv arch=x86_64 source=(http://downloads.sourceforge.net/project/ftgl/FTGL%20Source/2.1.3%7Erc5/ftgl-2.1.3-rc5.tar.bz2) docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "bugs" "projects_using_ftgl.txt") url=http://sourceforge.net/projects/ftgl slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "ftgl (C++ library that uses Freetype2)" "FTGL is a free cross-platform Open Source C++ library that uses" "Freetype2 to simplify rendering fonts in OpenGL applications." "FTGL supports bitmaps, pixmaps, texture maps, outlines, polygon mesh," "and extruded polygon rendering modes." ) build() { cd $startdir/src/$pkgname-2.1.3~rc5 ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux --disable-static make || return 1 make install DESTDIR=$startdir/pkg # /usr/share only has a doc file that already goes to /usr/doc rm -rf $startdir/pkg/usr/share }