### this file is sourced not run
PKGVER=0.6.2
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=sratom-$PKGVER.tar.bz2
MD5SUM=aa3c540032da43cf6cf68f684983d7f5
SRC_URL=http://download.drobilla.net/$TARBALL
BUNDLE=

SLACKREQ='liblv2 libserd libsord' # 
SLACKDESC="libsratom: libsratom $PKGVER (RDF serializer library)
libsratom: 
libsratom: Sratom is a library for serialising LV2 atoms to/from RDF, 
libsratom: particularly the Turtle syntax.
libsratom: 
libsratom: http://drobilla.net/software/sratom/
libsratom: 
libsratom: 
libsratom: 
libsratom: 
libsratom: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/sratom*
	./waf configure --prefix=/usr --configdir=/etc --libdir=/usr/$LIBDIR &&
	./waf build $MAKEFLAGS &&
	./waf install &&

	# clean ldconfig output
	rm -rf /var/cache /etc/ld.so.cache &&
	
	pkg_build_slackdesc
}
