diff options
author | tnut <tnut at nutyx dot com> | 2011-10-15 16:52:17 +0200 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2011-10-15 16:52:17 +0200 |
commit | ce55610c93259972a672a123e197beb71b0149ca (patch) | |
tree | b57460fdf8c91d88ce4dd8cbff290263ad947ae2 /base/nspr/Pkgfile | |
parent | b92fe413f29584db8160f421c481767ad352d6cf (diff) | |
download | nutyx-pakxe-ce55610c93259972a672a123e197beb71b0149ca.tar.gz nutyx-pakxe-ce55610c93259972a672a123e197beb71b0149ca.tar.bz2 nutyx-pakxe-ce55610c93259972a672a123e197beb71b0149ca.tar.xz nutyx-pakxe-ce55610c93259972a672a123e197beb71b0149ca.zip |
nspr dans extra
Diffstat (limited to 'base/nspr/Pkgfile')
-rw-r--r-- | base/nspr/Pkgfile | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/base/nspr/Pkgfile b/base/nspr/Pkgfile deleted file mode 100644 index 4975d916c..000000000 --- a/base/nspr/Pkgfile +++ /dev/null @@ -1,46 +0,0 @@ -# Description: Netscape Portable Runtime library -# URL: http://www.mozilla.org/projects/nspr/ -# Maintainer: Fredrik Rinnestam, fredrik at rinnestam dot se -# Packager: thierryn1 at hispeed dot ch - -name=nspr -version=4.8.9 -release=1 -source=(ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v$version/src/$name-$version.tar.gz - http://nutyx.meticul.eu/files/patchs/$name/$name.pc.in) - -build() { - _ARCH=`uname -m` - local NSPR_LIBS NSPR_CFLAGS NSPR_VERSION - [ "`uname -m`" == "x86_64" ] && confflags="--enable-64bit" - cd $name-$version - - ./mozilla/nsprpub/configure \ - --prefix=/usr \ - --libdir=/usr/lib \ - --includedir=/usr/include/nspr \ - --enable-optimize \ - --disable-debug ${confflags} - - 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 -} |