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

# source: post BLFS 8.2 2018-06-01
TARBALL=cairo-$PKGVER.tar.xz
MD5SUM=9f0db9dbfca0966be8acd682e636d165
SRC_URL=http://cairographics.org/releases/$TARBALL
BUNDLE=

SLACKREQ='libpng32 glib32 pixman32 fontconfig32 libX11_32 mesa32 libdrm32'
SLACKDESC="cairo32: cairo32 $PKGVER (Advanced 2D graphics library)  
cairo32:  
cairo32: Cairo is a 2D graphics library with support for multiple output 
cairo32: devices. Currently supported output targets include the X Window 
cairo32: System, win32, image buffers, PostScript, PDF and SVG. Experimental 
cairo32: backends include OpenGL, Quartz and XCB file output. Cairo is designed 
cairo32: to produce consistent output on all output media while taking advantage 
cairo32: of display hardware acceleration when available (e.g., through the X 
cairo32: Render Extension). The Cairo API provides operations similar to the 
cairo32: drawing operators of PostScript and PDF.  
cairo32: This contains 32-bit version of the library.
"

### default pkg_download
### default pkg_prepare
pkg_package() {
	rm -rf bin sbin usr/bin usr/sbin usr/include usr/share
}

### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-static"
	pkg_build_autoconf && pkg_build_slackdesc
}


