void-packages/srcpkgs/libsrtp/template

32 lines
974 B
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=3
2013-04-21 18:28:15 +00:00
wrksrc=srtp
2014-02-10 18:19:08 +00:00
build_style=gnu-configure
2013-04-21 18:28:15 +00:00
short_desc="Library implementing SRTP, the Secure Real-time Transport Protocol"
maintainer="Juan RP <xtraeme@gmail.com>"
2013-04-21 18:28:15 +00:00
license="BSD"
homepage="http://sourceforge.net/projects/srtp/"
#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"
2014-02-10 18:19:08 +00:00
checksum=ac91a00c4eed0c111a94dfa5295a32af82cdd26c1c7f58f317b1062f0beb923b
2013-04-21 18:28:15 +00:00
2014-02-10 18:19:08 +00:00
CFLAGS="-fPIC"
2013-04-21 18:28:15 +00:00
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-devel_package() {
short_desc+=" - development files"
2014-02-10 18:19:08 +00:00
depends="${sourcepkg}>=${version}_${revision}"
2013-04-21 18:28:15 +00:00
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-02-10 18:19:08 +00:00
vmove "usr/lib/*.so"
2013-04-21 18:28:15 +00:00
}
}