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

# source: post BLFS 7.8 updated 6-12-2018
TARBALL=opus-$PKGVER.tar.gz
MD5SUM=54bc867f13066407bc7b95be1fede090
SRC_URL=http://downloads.xiph.org/releases/opus/$TARBALL
BUNDLE=

SLACKREQ=''
SLACKDESC="libopus32: libopus32 $PKGVER (Opus codec)  
libopus32:  
libopus32: Opus is a totally open, royalty-free, highly versatile audio codec. 
libopus32: Opus is unmatched for interactive speech and music transmission over 
libopus32: the Internet, but is also intended for storage and streaming 
libopus32: applications. It is standardized by the Internet Engineering Task 
libopus32: Force (IETF) as RFC 6716 which incorporated technology from Skype 
libopus32: SILK codec and Xiph.Org CELT codec.  
libopus32: 
libopus32: This contains 32-bit version of the library.
libopus32:
"

### 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() {
#	return 1
	CONFFLAGS="$CONFFLAGS --disable-static  \
		--docdir=/usr/share/doc/opus-$PKGVER \
		--host ${CLFS_TARGET32} \
		--enable-custom-modes"
	pkg_build_autoconf &&
	pkg_build_slackdesc
}



