mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-16 20:13:52 +02:00
libsrtp: fixed up the stupid pkgconfig file.
This commit is contained in:
parent
a47ae80397
commit
0650ef0f5a
2 changed files with 8 additions and 7 deletions
|
@ -1,11 +1,11 @@
|
||||||
prefix=@PREFIX@
|
prefix=/usr
|
||||||
exec_prefix=@PREFIX@
|
exec_prefix=/usr
|
||||||
libdir=@LIBDIR@
|
libdir=${prefix}/lib
|
||||||
includedir=@INCLUDEDIR@
|
includedir=${prefix}/include
|
||||||
|
|
||||||
Name: libsrtp
|
Name: libsrtp
|
||||||
Description: Secure Real-time Transport Protocol library
|
Description: Secure Real-time Transport Protocol library
|
||||||
Version: 1.4.4
|
Version: @VERSION@
|
||||||
URL: http://srtp.sourceforge.net
|
URL: http://srtp.sourceforge.net
|
||||||
Requires:
|
Requires:
|
||||||
Conflicts:
|
Conflicts:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'libsrtp'.
|
# Template build file for 'libsrtp'.
|
||||||
pkgname=libsrtp
|
pkgname=libsrtp
|
||||||
version=1.4.4
|
version=1.4.4
|
||||||
revision=3
|
revision=4
|
||||||
wrksrc=srtp
|
wrksrc=srtp
|
||||||
build_style=gnu-configure
|
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"
|
||||||
|
@ -15,7 +15,8 @@ checksum=ac91a00c4eed0c111a94dfa5295a32af82cdd26c1c7f58f317b1062f0beb923b
|
||||||
CFLAGS="-fPIC"
|
CFLAGS="-fPIC"
|
||||||
|
|
||||||
post_install() {
|
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
|
||||||
ln -sf libsrtp.so.0.0.0 ${DESTDIR}/usr/lib/libsrtp.so.0
|
ln -sf libsrtp.so.0.0.0 ${DESTDIR}/usr/lib/libsrtp.so.0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue