libsrtp: fixed up the stupid pkgconfig file.
This commit is contained in:
parent
a47ae80397
commit
0650ef0f5a
|
@ -1,11 +1,11 @@
|
|||
prefix=@PREFIX@
|
||||
exec_prefix=@PREFIX@
|
||||
libdir=@LIBDIR@
|
||||
includedir=@INCLUDEDIR@
|
||||
prefix=/usr
|
||||
exec_prefix=/usr
|
||||
libdir=${prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: libsrtp
|
||||
Description: Secure Real-time Transport Protocol library
|
||||
Version: 1.4.4
|
||||
Version: @VERSION@
|
||||
URL: http://srtp.sourceforge.net
|
||||
Requires:
|
||||
Conflicts:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'libsrtp'.
|
||||
pkgname=libsrtp
|
||||
version=1.4.4
|
||||
revision=3
|
||||
revision=4
|
||||
wrksrc=srtp
|
||||
build_style=gnu-configure
|
||||
short_desc="Library implementing SRTP, the Secure Real-time Transport Protocol"
|
||||
|
@ -15,7 +15,8 @@ checksum=ac91a00c4eed0c111a94dfa5295a32af82cdd26c1c7f58f317b1062f0beb923b
|
|||
CFLAGS="-fPIC"
|
||||
|
||||
post_install() {
|
||||
vinstall ${FILESDIR}/libsrtp.pc 644 usr/lib/pkgconfig
|
||||
sed "s,@VERSION@,${version},g" ${FILESDIR}/libsrtp.pc > libsrtp.pc
|
||||
vinstall 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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue