### this file is sourced not run
PKGVER=4.1.0
PKGBUILD=1
PKGARCH=x86_64
PKGNAME=libgig

# source: james
TARBALL=libgig-$PKGVER.tar.bz2
MD5SUM=a2ad3f933d13332b7a2ea68de20fa4b7
SRC_URL=http://download.linuxsampler.org/packages/$TARBALL
BUNDLE=

SLACKREQ='libsndfile' # 
SLACKDESC="libgig: libgig $PKGVER (Gigasampler C++ library)
libgig: 
libgig: libgig is the GigaStudio/Gigasampler, DLS, AKAI, SoundFont, KORG file 
libgig: access library (C++). It is the base library used by LinuxSampler, 
libgig: GigaEdit and friends.
libgig: 
libgig: http://www.linuxsampler.org/downloads.html#libgig
libgig: 
libgig: 
libgig: 
libgig: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-static"
	pkg_build_autoconf &&
	pkg_build_slackdesc &&
	
	# libgig installs its libraries in a private path, add it to ld.so.conf.d
	install -d "/etc/ld.so.conf.d" &&
	echo "/usr/$LIBDIR/${PKGNAME}" > "/etc/ld.so.conf.d/${PKGNAME}.conf"
}
