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

# source: james + debian patches
TARBALL=libgssglue-0.4.tar.gz
MD5SUM=088797f3180702fa54e786496b32e750
SRC_URL=http://www.citi.umich.edu/projects/nfsv4/linux/libgssglue/$TARBALL
BUNDLE=

SLACKREQ=''
SLACKDESC="libgssglue: libgssglue 0.4 (GSS API glue library)
libgssglue: 
libgssglue: This library exports a gssapi interface, but doesn't implement any 
libgssglue: gssapi mechanisms itself; instead it calls gssapi routines in other 
libgssglue: libraries, depending on the mechanism.
libgssglue: 
libgssglue: 
libgssglue: 
libgssglue: 
libgssglue: 
libgssglue: 
"

### default pkg_download
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/libgssglue* &&
	tar -xf $CHROOT_DIR/tmp/pkg/libgssglue_0.4-2.debian.tar.bz2 &&
	for p in $(cat debian/patches/series); do 
		patch -Np1 -i debian/patches/$p || return 1
	done
}
### default pkg_package
### build
pkg_build() {
	cd /tmp/libgssglue*
	CONFFLAGS="$CONFFLAGS --disable-static"
	pkg_build_autoconf &&
	pkg_build_slackdesc &&
	install -m644 doc/gssapi_mech.conf /etc
}


