diff options
author | Tim Biermann <tbier@posteo.de> | 2021-12-14 10:20:56 +0100 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2022-01-10 16:28:36 +0100 |
commit | 23492abce80ce1f07803ea4410ff65749730739c (patch) | |
tree | 318368adcc89346f688975bbc75a833bac9a952a /nspr | |
parent | 1fb5147c6ec0f6cb406b6f7cb4e3bbbd3e528b73 (diff) | |
download | opt-23492abce80ce1f07803ea4410ff65749730739c.tar.gz opt-23492abce80ce1f07803ea4410ff65749730739c.tar.xz |
nspr: syntax
Diffstat (limited to 'nspr')
-rw-r--r-- | nspr/.signature | 4 | ||||
-rw-r--r-- | nspr/Pkgfile | 68 |
2 files changed, 36 insertions, 36 deletions
diff --git a/nspr/.signature b/nspr/.signature index e9bfbd9b5..cec40158f 100644 --- a/nspr/.signature +++ b/nspr/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/Q6YbXSfSQqhvh7LdghMyRTyHB1GfX+mTiqj5CI6GaO5gr43PMoRZgZSRj8B+SAi0dUorFSlGsenfQPveUNCywc= -SHA256 (Pkgfile) = b86600e8563a4244767ed8e6e3aa2600b5ffed8c1fd9a796ddca05be64e77461 +RWSE3ohX2g5d/b4e8+yfrXwqbXUcyeQLkvCunuLK7XKzgrkhPxZZYx5tL/VOXuCot7jtheTEmoOQOii+EgQVZq3YplzbPTT2mwM= +SHA256 (Pkgfile) = b3e1b96411d37ab82091e6b39022b8c26c9f9aecd10d0f17f6e3765a4042b7aa SHA256 (.footprint) = ca5a9f3ef9c25bbb9276ddaf58e30935286f63deee679e7268d602e09f9934af SHA256 (nspr-4.33.tar.gz) = b23ee315be0e50c2fb1aa374d17f2d2d9146a835b1a79c1918ea15d075a693d7 SHA256 (nspr.pc.in) = 57a655d034221760ce10278d2050bbe040b1db55be3db6e3a30f04a570877b71 diff --git a/nspr/Pkgfile b/nspr/Pkgfile index 40c78b988..e87c5b327 100644 --- a/nspr/Pkgfile +++ b/nspr/Pkgfile @@ -6,40 +6,40 @@ name=nspr version=4.33 release=1 source=(https://ftp.mozilla.org/pub/nspr/releases/v$version/src/$name-$version.tar.gz - $name.pc.in) + $name.pc.in) build() { - local NSPR_LIBS NSPR_CFLAGS NSPR_VERSION - - cd $name-$version/nspr - - ./configure \ - --prefix=/usr \ - --libdir=/usr/lib \ - --includedir=/usr/include/nspr \ - --enable-optimize="$CFLAGS" \ - --enable-64bit \ - --disable-debug - - 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 + local NSPR_LIBS NSPR_CFLAGS NSPR_VERSION + + cd $name-$version/nspr + + ./configure \ + --prefix=/usr \ + --libdir=/usr/lib \ + --includedir=/usr/include/nspr \ + --enable-optimize="$CFLAGS" \ + --enable-64bit \ + --disable-debug + + 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 } |