2013-04-21 20:28:15 +02:00
|
|
|
# Template build file for 'libsrtp'.
|
|
|
|
pkgname=libsrtp
|
|
|
|
version=1.4.4
|
2014-12-18 21:21:05 +01:00
|
|
|
revision=3
|
2013-04-21 20:28:15 +02:00
|
|
|
wrksrc=srtp
|
2014-02-10 19:19:08 +01:00
|
|
|
build_style=gnu-configure
|
2013-04-21 20:28:15 +02:00
|
|
|
short_desc="Library implementing SRTP, the Secure Real-time Transport Protocol"
|
2014-12-18 21:21:05 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-21 20:28:15 +02: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 19:19:08 +01:00
|
|
|
checksum=ac91a00c4eed0c111a94dfa5295a32af82cdd26c1c7f58f317b1062f0beb923b
|
2013-04-21 20:28:15 +02:00
|
|
|
|
2014-02-10 19:19:08 +01:00
|
|
|
CFLAGS="-fPIC"
|
2013-04-21 20:28:15 +02: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() {
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - development files"
|
2014-02-10 19:19:08 +01:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-04-21 20:28:15 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-10 19:19:08 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-21 20:28:15 +02:00
|
|
|
}
|
|
|
|
}
|