nspr-32: updated URL
This commit is contained in:
parent
e822ea323b
commit
edaa718127
@ -1,6 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/compat-32.pub
|
||||
RWSwxGo/zH7eXYkR/SrMGhIHC/UlOVGmpZlIGrNAtxbLimIRfa+sjccB0IESXic+1lOoouPFDfa9q93VtuYFKzwWuptza9DbtQE=
|
||||
SHA256 (Pkgfile) = 7f644574cf7c0213710649d1798e1b6608095fa6df6c9a8c222fe932a2b51816
|
||||
RWSwxGo/zH7eXRPyNspTMHeKy2jxakQK5xrlIKqo7dxIlZMe2TV0LH0r0qxZNULBrwPeVu9D/vBVbvn/42VzDbDRy4Ytjq4ZNAc=
|
||||
SHA256 (Pkgfile) = 99462a053f741a35f47b01ef5dfa6ec41d63cb92428da78408c32e06ea5118b3
|
||||
SHA256 (.footprint) = e53cde3e68770a90b588acd523c06d02cedc1fd2f30fe15dd1ef2b559952a606
|
||||
SHA256 (nspr-4.32.tar.gz) = bb6bf4f534b9559cf123dcdc6f9cd8167de950314a90a88b2a329c16836e7f6c
|
||||
SHA256 (nspr.pc.in) = 57a655d034221760ce10278d2050bbe040b1db55be3db6e3a30f04a570877b71
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Description: Netscape Portable Runtime library
|
||||
# URL: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR
|
||||
# URL: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Reference/NSPR_functions
|
||||
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
||||
# Depends on: nspr
|
||||
|
||||
@ -7,42 +7,42 @@ name=nspr-32
|
||||
version=4.32
|
||||
release=1
|
||||
source=(https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v$version/src/${name%-*}-$version.tar.gz
|
||||
nspr.pc.in)
|
||||
nspr.pc.in)
|
||||
|
||||
build() {
|
||||
local NSPR_LIBS NSPR_CFLAGS NSPR_VERSION
|
||||
local NSPR_LIBS NSPR_CFLAGS NSPR_VERSION
|
||||
|
||||
cd ${name%-*}-$version/nspr
|
||||
cd ${name%-*}-$version/nspr
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib32 \
|
||||
--includedir=/usr/include/nspr \
|
||||
--enable-optimize="$CFLAGS" \
|
||||
--disable-64bit \
|
||||
--disable-debug
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib32 \
|
||||
--includedir=/usr/include/nspr \
|
||||
--enable-optimize="$CFLAGS" \
|
||||
--disable-64bit \
|
||||
--disable-debug
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
mv $PKG/usr/bin/nspr-config{,-32}
|
||||
rm $PKG/usr/bin/{compile-et.pl,prerr.properties}
|
||||
mv $PKG/usr/bin/nspr-config{,-32}
|
||||
rm $PKG/usr/bin/{compile-et.pl,prerr.properties}
|
||||
|
||||
NSPR_LIBS=`./config/nspr-config --libs`
|
||||
NSPR_CFLAGS=`./config/nspr-config --cflags`
|
||||
NSPR_VERSION=`./config/nspr-config --version`
|
||||
NSPR_LIBS=`./config/nspr-config --libs`
|
||||
NSPR_CFLAGS=`./config/nspr-config --cflags`
|
||||
NSPR_VERSION=`./config/nspr-config --version`
|
||||
|
||||
install -d $PKG/usr/lib32/pkgconfig
|
||||
install -d $PKG/usr/lib32/pkgconfig
|
||||
|
||||
sed $SRC/nspr.pc.in \
|
||||
-e "s,@libdir@,/usr/lib32," \
|
||||
-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/lib32/pkgconfig/nspr.pc
|
||||
sed $SRC/nspr.pc.in \
|
||||
-e "s,@libdir@,/usr/lib32," \
|
||||
-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/lib32/pkgconfig/nspr.pc
|
||||
|
||||
rm -r $PKG/usr/{include,share}
|
||||
rm -r $PKG/usr/{include,share}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user