#Packager: George Vlahavas pkgname=agg pkgver=2.5 pkgrel=1gv source=("http://www.antigrain.com/agg-$pkgver.tar.gz" "agg-2.4-depends.patch" "agg-2.5-pkgconfig.patch") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://www.antigrain.com/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "agg (A High Quality Rendering Engine for C++)" "Anti-Grain Geometry (AGG) is an Open Source, free of charge graphic" "library, written in industrially standard C++. AGG doesn't depend on" "any graphic API or technology. Basically, you can think of AGG as of a" "rendering engine that produces pixel images in memory from some" "vectorial data. But of course, AGG can do much more than that." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < $startdir/src/agg-2.4-depends.patch || exit 1 patch -p1 < $startdir/src/agg-2.5-pkgconfig.patch || exit 1 sh autogen.sh ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux --disable-static --disable-sdl make || return 1 make install DESTDIR=$startdir/pkg }