summaryrefslogtreecommitdiff
path: root/multilib/lib32-nspr
diff options
context:
space:
mode:
Diffstat (limited to 'multilib/lib32-nspr')
-rw-r--r--multilib/lib32-nspr/PKGBUILD56
-rw-r--r--multilib/lib32-nspr/nspr.pc.in10
2 files changed, 0 insertions, 66 deletions
diff --git a/multilib/lib32-nspr/PKGBUILD b/multilib/lib32-nspr/PKGBUILD
deleted file mode 100644
index f3bf0198f..000000000
--- a/multilib/lib32-nspr/PKGBUILD
+++ /dev/null
@@ -1,56 +0,0 @@
-# $Id: PKGBUILD 26713 2010-09-15 22:57:32Z bluewind $
-# Maintainer : Ionut Biru <ibiru@archlinux.org>
-
-_pkgbasename=nspr
-pkgname=lib32-$_pkgbasename
-pkgver=4.8.6
-pkgrel=2
-pkgdesc="Netscape Portable Runtime (32-bit)"
-arch=('x86_64')
-url="http://www.mozilla.org/projects/nspr/"
-license=('MPL' 'GPL')
-depends=('lib32-glibc' $_pkgbasename)
-makedepends=('zip' 'gcc-multilib')
-options=(!emptydirs)
-source=(ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${pkgver}/src/${_pkgbasename}-${pkgver}.tar.gz
- nspr.pc.in)
-md5sums=('592c275728c29d193fdba8009165990b'
- 'bce1611f3117b53fc904cab549c09967')
-
-build() {
- cd "${srcdir}/${_pkgbasename}-${pkgver}"
- unset CFLAGS
- unset CXXFLAGS
- ./mozilla/nsprpub/configure \
- --prefix=/usr \
- --libdir=/usr/lib32 \
- --includedir=/usr/include/nspr \
- --enable-optimize \
- --disable-debug ${confflags}
- make
-
- NSPR_LIBS=`./config/nspr-config --libs`
- NSPR_CFLAGS=`./config/nspr-config --cflags`
- NSPR_VERSION=`./config/nspr-config --version`
- install -m755 -d "${pkgdir}/usr/lib/pkgconfig"
- sed "${srcdir}/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}," > "${srcdir}/nspr.pc"
-}
-
-package() {
- cd "${srcdir}/${_pkgbasename}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -m755 -D "${srcdir}/nspr.pc" "${pkgdir}"/usr/lib32/pkgconfig/nspr.pc
- chmod 644 "${pkgdir}/usr/lib32/pkgconfig/nspr.pc"
- ln -sf nspr.pc "${pkgdir}/usr/lib32/pkgconfig/mozilla-nspr.pc"
-
- chmod 644 ${pkgdir}/usr/lib32/*.a
-
- rm -rf "${pkgdir}"/usr/{bin,share,include}
-}
diff --git a/multilib/lib32-nspr/nspr.pc.in b/multilib/lib32-nspr/nspr.pc.in
deleted file mode 100644
index 1d8f4a0ca..000000000
--- a/multilib/lib32-nspr/nspr.pc.in
+++ /dev/null
@@ -1,10 +0,0 @@
-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%