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

# source: james

# release tarball
#PKGVER=
#TARBALL=
#MD5SUM=
#SRC_URL=
#BUNDLE=

# git-master tarball
PKGVER=1.0.3.2024.04 # release is one year behind
MD5SUM=f6bef2a660182559f863a8b6452d9434
hash=f29ac9b010c58ba8386a1bc7a09327640859065a
hash7=${hash#???????}; hash7=${hash%$hash7}
TARBALL=libg722-$PKGVER-$hash7.tar.gz
SRC_URL=https://github.com/sippy/libg722/archive/$hash.tar.gz

SLACKREQ=''
SLACKDESC="libg722: libg722 $PKGVER (G.722 codec library)
libg722: 
libg722: The G.722 module is a bit exact implementation of the ITU G.722 
libg722: specification.
libg722: 
libg722: This package contains the static library only.
libg722: 
libg722: https://github.com/sippy/libg722
libg722: 
libg722: 
libg722: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/libg722* &&
	make PREFIX=/usr LIBDIR=/usr/$LIBDIR all install &&
	rm -r /usr/$LIBDIR/libg722.so* && 
	pkg_build_slackdesc	
}
