nspr: resurrected nspr.pc, since xulrunner's pc file refers to it.
This commit is contained in:
parent
7e5d21f1d7
commit
a45da96ecf
@ -68,6 +68,8 @@ drwxr-xr-x root/root usr/lib/
|
||||
-rwxr-xr-x root/root usr/lib/libplc4.so
|
||||
-rwxr-xr-x root/root usr/lib/libplds4.a
|
||||
-rwxr-xr-x root/root usr/lib/libplds4.so
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/nspr.pc
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/aclocal/
|
||||
-rw-r--r-- root/root usr/share/aclocal/nspr.m4
|
||||
|
@ -1 +1,2 @@
|
||||
7c6e75a0867ce2b9ec62e399a908b5ac nspr-4.7.1.tar.gz
|
||||
2083f33e11dfe15feb7bf9bca0f6c44b nspr.pc.in
|
||||
|
23
nspr/Pkgfile
23
nspr/Pkgfile
@ -4,10 +4,13 @@
|
||||
|
||||
name=nspr
|
||||
version=4.7.1
|
||||
release=1
|
||||
source=(ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.7.1/src/$name-$version.tar.gz)
|
||||
release=2
|
||||
source=(ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.7.1/src/$name-$version.tar.gz
|
||||
$name.pc.in)
|
||||
|
||||
build() {
|
||||
local NSPR_LIBS NSPR_CFLAGS NSPR_VERSION
|
||||
|
||||
cd $name-$version
|
||||
|
||||
./mozilla/nsprpub/configure \
|
||||
@ -20,6 +23,22 @@ build() {
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
NSPR_LIBS=`./config/nspr-config --libs`
|
||||
NSPR_CFLAGS=`./config/nspr-config --cflags`
|
||||
NSPR_VERSION=`./config/nspr-config --version`
|
||||
|
||||
install -d $PKG/usr/lib/pkgconfig
|
||||
|
||||
sed $SRC/nspr.pc.in \
|
||||
-e "s,@libdir@,/usr/lib," \
|
||||
-e "s,@prefix@,/usr," \
|
||||
-e "s,@exec_prefix@,/usr/bin," \
|
||||
-e "s,@includedir@,/usr/include/nspr," \
|
||||
-e "s,@NSPR_VERSION@,$NSPR_VERSION," \
|
||||
-e "s,@FULL_NSPR_LIBS@,$NSPR_LIBS," \
|
||||
-e "s,@FULL_NSPR_CFLAGS@,$NSPR_CFLAGS," > \
|
||||
$PKG/usr/lib/pkgconfig/nspr.pc
|
||||
|
||||
rm $PKG/usr/bin/{compile-et.pl,prerr.properties}
|
||||
rm -r $PKG/usr/include/nspr/md
|
||||
}
|
||||
|
10
nspr/nspr.pc.in
Normal file
10
nspr/nspr.pc.in
Normal file
@ -0,0 +1,10 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: NSPR
|
||||
Description: The Netscape Portable Runtime
|
||||
Version: @NSPR_VERSION@
|
||||
Libs: @FULL_NSPR_LIBS@
|
||||
Cflags: @FULL_NSPR_CFLAGS@
|
Loading…
x
Reference in New Issue
Block a user