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

# source: BLFS 11.3 updated git-master
# release tarball
#PKGVER=
#TARBALL=
#MD5SUM=
#SRC_URL=
#BUNDLE=

# git-master tarball
PKGVER=1.30.2023.04 # release is four years behind
MD5SUM=a35786288b293e4ea2ebbdff16cd6fb3
hash=26e507a6336bb8db1b86e79eac521194157f9f58
hash7=${hash#???????}; hash7=${hash%$hash7}
TARBALL=faac-$PKGVER-$hash7.tar.gz
SRC_URL=https://github.com/knik0/faac/archive/$hash.tar.gz

SLACKREQ=
SLACKDESC="libfaac32: libfaac32 $PKGVER (AAC encoder)"'
libfaac32:  
libfaac32: FAAC is an encoder for a lossy sound compression scheme specified in 
libfaac32: MPEG-2 Part 7 and MPEG-4 Part 3 standards and known as Advanced Audio 
libfaac32: Coding (AAC). This encoder is useful for producing files that can be 
libfaac32: played back on iPod. Moreover, iPod does not understand other sound 
libfaac32: compression schemes in video files.  
libfaac32: 
libfaac32: This contains 32-bit version of the libraries.
libfaac32: 
libfaac32:
'

### default pkg_download
### 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/faac* &&
	CONFFLAGS="$CONFFLAGS --disable-static" &&
	./bootstrap &&
	pkg_build_autoconf &&
	pkg_build_slackdesc
}


