### this file is sourced not run
PKGVER=5.0.5
PKGBUILD=1
PKGARCH=i686

# source: BLFS 7.5
TARBALL=giflib-$PKGVER.tar.bz2
MD5SUM=c3262ba0a3dad31ba876fb5ba1d71a02
SRC_URL=http://downloads.sourceforge.net/giflib/$TARBALL
BUNDLE=

SLACKREQ='libX11_32'
SLACKDESC="giflib32: giflib32 $PKGVER (GIF image library)  
giflib32:  
giflib32: The giflib package contains libraries for reading and writing GIFs as 
giflib32: well as programs for converting and working with GIF files. The 
giflib32: libraries are useful for any graphics program wishing to deal with GIF 
giflib32: files while the programs are useful for conversion purposes as well as 
giflib32: cleaning up images.  
giflib32: 
giflib32: This contains 32-bit version of the library.
giflib32: 
giflib32:
"

### default pkg_download
### default pkg_prepare
### package - only collect the libraries
pkg_package() {
	rm -rf bin sbin usr/bin usr/sbin usr/include usr/share
}

### build
pkg_build() {
	cd /tmp/giflib*
	#sed -i "s/all: allhtml/all:/" doc/Makefile.in && # disable doc build
	CONFFLAGS="$CONFFLAGS --disable-static" &&
	pkg_build_autoconf &&
	pkg_build_slackdesc	
}


