diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template index b5303d5a16..892ddcfcca 100644 --- a/srcpkgs/libsrtp/template +++ b/srcpkgs/libsrtp/template @@ -1,21 +1,18 @@ # Template build file for 'libsrtp'. pkgname=libsrtp version=1.4.4 -revision=1 -build_style=gnu-configure +revision=2 wrksrc=srtp +build_style=gnu-configure 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 " 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" +checksum=ac91a00c4eed0c111a94dfa5295a32af82cdd26c1c7f58f317b1062f0beb923b -XBPS_CFLAGS+=" -fPIC" +CFLAGS="-fPIC" post_install() { vinstall ${FILESDIR}/libsrtp.pc 644 usr/lib/pkgconfig @@ -25,9 +22,10 @@ post_install() { libsrtp-devel_package() { short_desc+=" - development files" - depends="${sourcepkg}-${version}_${revision}" + depends="${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" } }