libsrtp: misc cleanup.

This commit is contained in:
Juan RP 2014-02-10 19:19:08 +01:00
parent bd3f0106a1
commit 6d78188666

View file

@ -1,21 +1,18 @@
# Template build file for 'libsrtp'. # Template build file for 'libsrtp'.
pkgname=libsrtp pkgname=libsrtp
version=1.4.4 version=1.4.4
revision=1 revision=2
build_style=gnu-configure
wrksrc=srtp wrksrc=srtp
build_style=gnu-configure
short_desc="Library implementing SRTP, the Secure Real-time Transport Protocol" 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>" maintainer="ojab <ojab@ojab.ru>"
license="BSD" license="BSD"
homepage="http://sourceforge.net/projects/srtp/" homepage="http://sourceforge.net/projects/srtp/"
checksum=ac91a00c4eed0c111a94dfa5295a32af82cdd26c1c7f58f317b1062f0beb923b
#Use fedora's cvs checkout for the good #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" 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() { post_install() {
vinstall ${FILESDIR}/libsrtp.pc 644 usr/lib/pkgconfig vinstall ${FILESDIR}/libsrtp.pc 644 usr/lib/pkgconfig
@ -25,9 +22,10 @@ post_install() {
libsrtp-devel_package() { libsrtp-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
} }
} }