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

# source: post BLFS 8.2 2018-06-08
TARBALL=exiv2-$PKGVER.tar.gz
MD5SUM=5a32bfa41b5e5409c9347b227350e100
SRC_URL=https://github.com/Exiv2/exiv2/archive/v${PKGVER}.tar.gz
BUNDLE=

SLACKREQ='expat curl'
SLACKDESC="libexiv2: libexiv2 $PKGVER (Image metadata library)  
libexiv2:  
libexiv2: Exiv2 is a C++ library and a command line utility for managing image 
libexiv2: metadata. It provides fast and easy read and write access to the 
libexiv2: Exif, IPTC and XMP metadata of images in various formats.  
libexiv2: 
libexiv2: 
libexiv2: 
libexiv2: 
libexiv2: 
libexiv2: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	#CONFFLAGS="$CONFFLAGS --disable-static --enable-video --enable-webready --without-ssh"
	CMAKEFLAGS="$CMAKEFLAGS -DEXIV2_ENABLE_LIBXMP=OFF -DEXIV2_ENABLE_VIDEO=ON -DEXIV2_ENABLE_WEBREADY=ON -DEXIV2_ENABLE_SSH=OFF"
	pkg_build_cmake &&
	chmod 0755 /usr/$LIBDIR/libexiv2.so &&
	pkg_build_slackdesc
}
