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

# source: post BLFS 8.2 2018-07-25
TARBALL=atkmm-$PKGVER.tar.xz
MD5SUM=d53b60b0f1be597e86070954a49cf0c3
SRC_URL=http://ftp.gnome.org/pub/gnome/sources/atkmm/2.24/$TARBALL
BUNDLE=

SLACKREQ='atk2_32 glibmm32'
SLACKDESC="atk2mm32: atk2mm32 $PKGVER (C++ binding for ATK)  
atk2mm32:  
atk2mm32: Atkmm is the official C++ interface for the ATK accessibility toolkit 
atk2mm32: library.  
atk2mm32: 
atk2mm32: This contains 32-bit version of the library.
atk2mm32: 
atk2mm32: 
atk2mm32: 
atk2mm32: 
atk2mm32:
"

### 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/atkmm* &&
	# BLFS: fix doc dir
	sed -e "/^libdocdir =/ s/\$(book_name)/atkmm-$PKGVER/" -i doc/Makefile.in &&

	pkg_build_autoconf &&
	pkg_build_slackdesc
}
