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

# source: james

# release tarball
PKGVER=2.6.0
TARBALL=libsrtp-$PKGVER.tar.gz
MD5SUM=5dc5d5a3217888b85d928215df9cffbc
SRC_URL=https://github.com/cisco/libsrtp/archive/refs/tags/v$PKGVER.tar.gz
BUNDLE=

# git-master tarball
#PKGVER=
#MD5SUM=
#hash=
#hash7=${hash#???????}; hash7=${hash%$hash7}
#TARBALL=libsrtp-$PKGVER-$hash7.tar.gz
#SRC_URL=https://github.com/cisco/libsrtp/archive/$hash.tar.gz

SLACKREQ='openssl libpcap'
SLACKDESC="libsrtp2: libsrtp2 $PKGVER (Secure RTP library)
libsrtp2: 
libsrtp2: This package provides an implementation of the Secure Real-time 
libsrtp2: Transport Protocol (SRTP), the Universal Security Transform (UST), 
libsrtp2: and a supporting cryptographic kernel.
libsrtp2: 
libsrtp2: https://github.com/cisco/libsrtp
libsrtp2: 
libsrtp2: 
libsrtp2: 
libsrtp2: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS \
		--enable-openssl \
	" &&
	pkg_build_autoconf &&
	pkg_build_slackdesc	
}
