void-packages/srcpkgs/libsrtp/template

40 lines
1.2 KiB
Text
Raw Normal View History

2013-04-21 18:28:15 +00:00
# Template build file for 'libsrtp'.
pkgname=libsrtp
version=1.4.4
revision=1
build_style=gnu-configure
wrksrc=srtp
short_desc="Library implementing SRTP, the Secure Real-time Transport Protocol"
long_desc="libsrtp is a library implementing Secure RTP, the Secure Real-time
Transport Protocol. RTP is used for Voice over IP (VoIP) as well as audio and
video streaming; SRTP adds confidentialtiy and authentication."
maintainer="ojab <ojab@ojab.ru>"
license="BSD"
homepage="http://sourceforge.net/projects/srtp/"
checksum=ac91a00c4eed0c111a94dfa5295a32af82cdd26c1c7f58f317b1062f0beb923b
#Use fedora's cvs checkout for the good
distfiles="http://pkgs.fedoraproject.org/repo/pkgs/libsrtp/srtp-1.4.4-20101004cvs.tar.bz2/160479555f5e95027ad318605c1c670c/srtp-1.4.4-20101004cvs.tar.bz2"
XBPS_CFLAGS+=" -fPIC"
post_install() {
vinstall ${FILESDIR}/libsrtp.pc 644 usr/lib/pkgconfig
ln -sf libsrtp.so.0.0.0 ${DESTDIR}/usr/lib/libsrtp.so
ln -sf libsrtp.so.0.0.0 ${DESTDIR}/usr/lib/libsrtp.so.0
}
libsrtp_package() {
pkg_install() {
vmove all
}
}
libsrtp-devel_package() {
short_desc="${short_desc} -- development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}