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

# source: post BLFS 7.8 2016-01-06
TARBALL=apr-$PKGVER.tar.bz2
MD5SUM=4e9769f3349fe11fc0a5e1b224c236aa
SRC_URL=http://archive.apache.org/dist/apr/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="libapr: libapr $PKGVER (Apache Portable Runtime library)  
libapr:  
libapr: The Apache Portable Runtime (APR) is a supporting library for the 
libapr: Apache web server. It provides a set of application programming 
libapr: interfaces (APIs) that map to the underlying Operating System (OS). 
libapr: Where the OS doesn't support a particular function, APR will provide 
libapr: an emulation. Thus programmers can use the APR to make a program 
libapr: portable across different platforms.  
libapr: 
libapr: 
libapr:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-static \
		--with-installbuilddir=/usr/$LIBDIR/build"
	pkg_build_autoconf &&
	pkg_build_slackdesc &&
	
	# multilib
	mv -v /usr/bin/apr-1-config{,-64} &&
	ln -sfv multiarch_wrapper /usr/bin/apr-1-config
}


