wok-6.x diff nspr/receipt @ rev 11193
Up: evilvte to 0.5.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Nov 03 03:10:09 2011 +0000 (2011-11-03) |
parents | d1768332cee0 |
children | 3b7bb738b7bc |
line diff
1.1 --- a/nspr/receipt Sun May 08 09:01:58 2011 +0000 1.2 +++ b/nspr/receipt Thu Nov 03 03:10:09 2011 +0000 1.3 @@ -14,29 +14,31 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd $src 1.8 -./mozilla/nsprpub/configure \ 1.9 - --prefix=/usr \ 1.10 - --libdir=/usr/lib \ 1.11 - --includedir=/usr/include/nspr \ 1.12 - --enable-optimize \ 1.13 - --disable-debug 1.14 - make 1.15 - make DESTDIR="$PWD/_pkg" install 1.16 - 1.17 - mkdir -p $PWD/_pkg/usr/lib/pkgconfig 1.18 - NSPR_LIBS=`./config/nspr-config --libs` 1.19 - NSPR_CFLAGS=`./config/nspr-config --cflags` 1.20 - NSPR_VERSION=`./config/nspr-config --version` 1.21 - install -m755 -d "${pkgdir}/usr/lib/pkgconfig" 1.22 - sed "$stuff/nspr.pc.in" -e "s,%libdir%,/usr/lib," \ 1.23 - -e "s,%prefix%,/usr," \ 1.24 - -e "s,%exec_prefix%,/usr/bin," \ 1.25 - -e "s,%includedir%,/usr/include/nspr," \ 1.26 - -e "s,%NSPR_VERSION%,${NSPR_VERSION}," \ 1.27 - -e "s,%FULL_NSPR_LIBS%,${NSPR_LIBS}," \ 1.28 - -e "s,%FULL_NSPR_CFLAGS%,${NSPR_CFLAGS}," > "$PWD/_pkg/usr/lib/pkgconfig/nspr.pc" 1.29 - ln -sf nspr.pc "$PWD/_pkg/usr/lib/pkgconfig/mozilla-nspr.pc" 1.30 + cd $src 1.31 + ./mozilla/nsprpub/configure \ 1.32 + --prefix=/usr \ 1.33 + --libdir=/usr/lib \ 1.34 + --includedir=/usr/include/nspr \ 1.35 + --enable-optimize \ 1.36 + --disable-debug \ 1.37 + $CONFIGURE_ARGS && 1.38 + make && make DESTDIR=$DESTDIR install 1.39 + 1.40 + mkdir -p $DESTDIR/usr/lib/pkgconfig 1.41 + NSPR_LIBS=`./config/nspr-config --libs` 1.42 + NSPR_CFLAGS=`./config/nspr-config --cflags` 1.43 + NSPR_VERSION=`./config/nspr-config --version` 1.44 + install -m755 -d "${pkgdir}/usr/lib/pkgconfig" 1.45 + sed "$stuff/nspr.pc.in" \ 1.46 + -e "s,%libdir%,/usr/lib," \ 1.47 + -e "s,%prefix%,/usr," \ 1.48 + -e "s,%exec_prefix%,/usr/bin," \ 1.49 + -e "s,%includedir%,/usr/include/nspr," \ 1.50 + -e "s,%NSPR_VERSION%,${NSPR_VERSION}," \ 1.51 + -e "s,%FULL_NSPR_LIBS%,${NSPR_LIBS}," \ 1.52 + -e "s,%FULL_NSPR_CFLAGS%,${NSPR_CFLAGS}," > \ 1.53 + "$DESTDIR/usr/lib/pkgconfig/nspr.pc" 1.54 + ln -sf nspr.pc "$DESTDIR/usr/lib/pkgconfig/mozilla-nspr.pc" 1.55 } 1.56 1.57 # Rules to gen a SliTaz package suitable for Tazpkg.