summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2006-06-09 18:33:47 +0000
committerJory Pratt <anarchy@gentoo.org>2006-06-09 18:33:47 +0000
commitee2ce3244e8d5a5b08fa47b7d92247a3c4267a3d (patch)
treec9b76c5d6fa70d11f3ffbf61e3cbc1b8009cb96b /dev-libs/nss
parentperl -e cleanup, small clean up to tree (diff)
downloadgentoo-2-ee2ce3244e8d5a5b08fa47b7d92247a3c4267a3d.tar.gz
gentoo-2-ee2ce3244e8d5a5b08fa47b7d92247a3c4267a3d.tar.bz2
gentoo-2-ee2ce3244e8d5a5b08fa47b7d92247a3c4267a3d.zip
perl -e cleanup, small clean up to tree
(Portage version: 2.1) (Unsigned Manifest commit)
Diffstat (limited to 'dev-libs/nss')
-rw-r--r--dev-libs/nss/Manifest37
-rw-r--r--dev-libs/nss/files/digest-nss-3.113
-rw-r--r--dev-libs/nss/files/digest-nss-3.11.13
-rw-r--r--dev-libs/nss/files/nss-3.11.1-zdefs.patch16
-rw-r--r--dev-libs/nss/nss-3.11.1.ebuild109
-rw-r--r--dev-libs/nss/nss-3.11.ebuild101
6 files changed, 15 insertions, 254 deletions
diff --git a/dev-libs/nss/Manifest b/dev-libs/nss/Manifest
index 1fec018ee6ea..14fae5395438 100644
--- a/dev-libs/nss/Manifest
+++ b/dev-libs/nss/Manifest
@@ -10,10 +10,10 @@ AUX nss-3.11-zdefs.patch 545 RMD160 77e0f5803d638f4e4c5565d32d184e4edbb45ad7 SHA
MD5 12bb7fc61eb53ac0d989dd31b1a5ce66 files/nss-3.11-zdefs.patch 545
RMD160 77e0f5803d638f4e4c5565d32d184e4edbb45ad7 files/nss-3.11-zdefs.patch 545
SHA256 f9283635903cf0c6cfda4b634263b9b02f64e65c00fa656d27592e5f2fc3458d files/nss-3.11-zdefs.patch 545
-AUX nss-3.11.1-zdefs.patch 537 RMD160 f28be54c6283d92c45a19cddf731ef4e09958db3 SHA1 b371869382caa49543bd9afb5d4ea578db0c0045 SHA256 41bd0bd003fd4c6467ae5222971ad0973bc60f8bd299682d7f170c1a9b2b2b62
-MD5 655d31a4a294d7db32e9035a31cc477f files/nss-3.11.1-zdefs.patch 537
-RMD160 f28be54c6283d92c45a19cddf731ef4e09958db3 files/nss-3.11.1-zdefs.patch 537
-SHA256 41bd0bd003fd4c6467ae5222971ad0973bc60f8bd299682d7f170c1a9b2b2b62 files/nss-3.11.1-zdefs.patch 537
+AUX nss-3.11.1-perl.patch 2024 RMD160 c0319b9fc50d6cb7246f7268060863a477d9da5d SHA1 fbd56675b7584525cd2d588782e5c61dff8cb94e SHA256 a86fb5fe79ce158cba025a66af18405917847d85619e59edae949c24fe8672f8
+MD5 fcffdc0db377b01032220a594cc3039b files/nss-3.11.1-perl.patch 2024
+RMD160 c0319b9fc50d6cb7246f7268060863a477d9da5d files/nss-3.11.1-perl.patch 2024
+SHA256 a86fb5fe79ce158cba025a66af18405917847d85619e59edae949c24fe8672f8 files/nss-3.11.1-perl.patch 2024
AUX nss-3.9.2-gcc4.patch 1818 RMD160 7be7c0f39933dcad5c45909ef6099ad3a170d40e SHA1 035334857928da20d70c8dbac7f667348f4080dd SHA256 09bf6b2d51c27eccbf3b6c21aafb7f6263b723b3e526419f81a90db7bc203046
MD5 a3ab6ae2213780c0e20c5b9aa8f018e9 files/nss-3.9.2-gcc4.patch 1818
RMD160 7be7c0f39933dcad5c45909ef6099ad3a170d40e files/nss-3.9.2-gcc4.patch 1818
@@ -41,14 +41,10 @@ EBUILD nss-3.11-r1.ebuild 3928 RMD160 555a489702d52a5f3d40a55b631648a2bc09a873 S
MD5 fa331d8fc5ad1e5bbcbd32c1b4dd4fa7 nss-3.11-r1.ebuild 3928
RMD160 555a489702d52a5f3d40a55b631648a2bc09a873 nss-3.11-r1.ebuild 3928
SHA256 dc910f2f771f496ae02f58b9e0919253a3add567cb15e3d43c1d7a852572dd0f nss-3.11-r1.ebuild 3928
-EBUILD nss-3.11.1.ebuild 3929 RMD160 4c7e2e93b3eaa5c3a1f4ae10e6330dde33027feb SHA1 96f014dc3a806ba22765da1edbe3b6712ebc8500 SHA256 7c0e68a1ccbf400bb6c29e94cf069eb521010d5c71a32f547bde218a6dcb16d5
-MD5 6ad8ab080a25c4c0c7906ed68542ca5c nss-3.11.1.ebuild 3929
-RMD160 4c7e2e93b3eaa5c3a1f4ae10e6330dde33027feb nss-3.11.1.ebuild 3929
-SHA256 7c0e68a1ccbf400bb6c29e94cf069eb521010d5c71a32f547bde218a6dcb16d5 nss-3.11.1.ebuild 3929
-EBUILD nss-3.11.ebuild 3664 RMD160 3f55d210cdd3b5dda4cc8c44f219c2ec22783a4f SHA1 39067b52cb3c359784400f632d86490be58b2998 SHA256 c71ec76c568dc679e97245e1c95eaad44b37db8e4c274753cca7ddbed0a5f71b
-MD5 106d5f5b8b902fe277a441e56c48825e nss-3.11.ebuild 3664
-RMD160 3f55d210cdd3b5dda4cc8c44f219c2ec22783a4f nss-3.11.ebuild 3664
-SHA256 c71ec76c568dc679e97245e1c95eaad44b37db8e4c274753cca7ddbed0a5f71b nss-3.11.ebuild 3664
+EBUILD nss-3.11.1-r1.ebuild 3948 RMD160 29e151c228847b2704f7222a3016b789ddbe7ae0 SHA1 8274360f3f5be3a0c1ba18a7f5256f8711ab7a2b SHA256 167059bd6f799a2ac1be4a9edd98fa1373c69acdb2bd1e6d2df06f19b5c1b6e0
+MD5 fa5f15139ba45e7d221b39b8bf29144f nss-3.11.1-r1.ebuild 3948
+RMD160 29e151c228847b2704f7222a3016b789ddbe7ae0 nss-3.11.1-r1.ebuild 3948
+SHA256 167059bd6f799a2ac1be4a9edd98fa1373c69acdb2bd1e6d2df06f19b5c1b6e0 nss-3.11.1-r1.ebuild 3948
EBUILD nss-3.9.2-r2.ebuild 3257 RMD160 38a5ab166ca609c783da3c26ff2ec2e275211a6c SHA1 516ba3fe6a277a024ceacd2b1e322bb511b994ba SHA256 0d061b0a4a8fcd717f209fe7620a2e583913230081f554f268f9514d8af434ce
MD5 9912ed2d75b67169a29a8f77130a7826 nss-3.9.2-r2.ebuild 3257
RMD160 38a5ab166ca609c783da3c26ff2ec2e275211a6c nss-3.9.2-r2.ebuild 3257
@@ -57,23 +53,20 @@ EBUILD nss-3.9.2-r3.ebuild 3318 RMD160 3f1c624d938d95d5ecdf210e8a1b42646ec655c8
MD5 364680aea7c774c0de0f0849f99a6f81 nss-3.9.2-r3.ebuild 3318
RMD160 3f1c624d938d95d5ecdf210e8a1b42646ec655c8 nss-3.9.2-r3.ebuild 3318
SHA256 257823dd512909b0d4c37f3dc926aa087a908430d30a05cb23ab9988fbed16b5 nss-3.9.2-r3.ebuild 3318
-MISC ChangeLog 6928 RMD160 651dcb29b837cf2eac879f20a75b2c62649e44e1 SHA1 851b5e43a3989711d3785a1968bd9beec0937481 SHA256 0a882b0d6cfdb3b20ab31230a5f2d8d87e989cbedf5e5cd1c46b4ab985c9ffd8
-MD5 925ce5db53086a217b53a2b292045b00 ChangeLog 6928
-RMD160 651dcb29b837cf2eac879f20a75b2c62649e44e1 ChangeLog 6928
-SHA256 0a882b0d6cfdb3b20ab31230a5f2d8d87e989cbedf5e5cd1c46b4ab985c9ffd8 ChangeLog 6928
+MISC ChangeLog 7178 RMD160 74da350a66720019113397f60540d8b619501685 SHA1 0da86ff7ea80486bae02d63a6871bf224ee93e8c SHA256 2ffc33248c8c0d02b457855bb2ee368c91b5c782a7d3d459d7e5bb6bad071a32
+MD5 fb01ccac452bc651028ced4e78be8dfc ChangeLog 7178
+RMD160 74da350a66720019113397f60540d8b619501685 ChangeLog 7178
+SHA256 2ffc33248c8c0d02b457855bb2ee368c91b5c782a7d3d459d7e5bb6bad071a32 ChangeLog 7178
MISC metadata.xml 218 RMD160 0d285ed934300df6fa69d767f86c130ec33e9701 SHA1 c9553085299d3152181d886e73ebc9c3635c0f16 SHA256 1ccd545528e7c3c425fbddbc5c9efa829b36555cd13b392c0e4a90b8c7d7949f
MD5 5a175354c5a11c16ce7018948acc98be metadata.xml 218
RMD160 0d285ed934300df6fa69d767f86c130ec33e9701 metadata.xml 218
SHA256 1ccd545528e7c3c425fbddbc5c9efa829b36555cd13b392c0e4a90b8c7d7949f metadata.xml 218
-MD5 93fb1be7be955df0ed2a022d6997abaf files/digest-nss-3.11 229
-RMD160 89faa75e6c5925884c3653d36d40297654219446 files/digest-nss-3.11 229
-SHA256 7961822db8eaec303b55897d6745dee2b5d1cb55ac79b88250bb016afe6c74fd files/digest-nss-3.11 229
MD5 93fb1be7be955df0ed2a022d6997abaf files/digest-nss-3.11-r1 229
RMD160 89faa75e6c5925884c3653d36d40297654219446 files/digest-nss-3.11-r1 229
SHA256 7961822db8eaec303b55897d6745dee2b5d1cb55ac79b88250bb016afe6c74fd files/digest-nss-3.11-r1 229
-MD5 354b93bd389d0de91ee352abb1ad1ffd files/digest-nss-3.11.1 235
-RMD160 aecaeefb2f86dca6bb79f6a0cbda601b5f305176 files/digest-nss-3.11.1 235
-SHA256 787de6c7b9f53fcfb9e6cf63539565bd0ce9b51408b830ade22d900597b48bc0 files/digest-nss-3.11.1 235
+MD5 354b93bd389d0de91ee352abb1ad1ffd files/digest-nss-3.11.1-r1 235
+RMD160 aecaeefb2f86dca6bb79f6a0cbda601b5f305176 files/digest-nss-3.11.1-r1 235
+SHA256 787de6c7b9f53fcfb9e6cf63539565bd0ce9b51408b830ade22d900597b48bc0 files/digest-nss-3.11.1-r1 235
MD5 9791a64525444c3bca0d2e76e050ef33 files/digest-nss-3.9.2-r2 232
RMD160 fb37b59135e72457340d2ecd1859da535fc9d4ce files/digest-nss-3.9.2-r2 232
SHA256 346b419b2d3747dc86365f6d2a1253aebc54900d885321d97e901b388d71d904 files/digest-nss-3.9.2-r2 232
diff --git a/dev-libs/nss/files/digest-nss-3.11 b/dev-libs/nss/files/digest-nss-3.11
deleted file mode 100644
index 802d7b71a488..000000000000
--- a/dev-libs/nss/files/digest-nss-3.11
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 9be73bd73e361e5e36edf77f456fa20a nss-3.11.tar.gz 5002908
-RMD160 90be4b42e490084c23451ce8abcf089150357d1e nss-3.11.tar.gz 5002908
-SHA256 35b65a672c699f1e5fc082fccc29bcc65102ef8d31cff106f2ec68beace96809 nss-3.11.tar.gz 5002908
diff --git a/dev-libs/nss/files/digest-nss-3.11.1 b/dev-libs/nss/files/digest-nss-3.11.1
deleted file mode 100644
index ae13c9b2bb79..000000000000
--- a/dev-libs/nss/files/digest-nss-3.11.1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 5cb32527df232a62a7aed61336c8c373 nss-3.11.1.tar.gz 3650552
-RMD160 e6569ab941b08a59d2a459014389fd4581460aac nss-3.11.1.tar.gz 3650552
-SHA256 3f29d1f77f8f4fb9dc59d3a2fd13587e9be373a1cc8528e39c5d17f30807dc50 nss-3.11.1.tar.gz 3650552
diff --git a/dev-libs/nss/files/nss-3.11.1-zdefs.patch b/dev-libs/nss/files/nss-3.11.1-zdefs.patch
deleted file mode 100644
index b814364048b5..000000000000
--- a/dev-libs/nss/files/nss-3.11.1-zdefs.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Index: mozilla/security/coreconf/Linux.mk
-===================================================================
-RCS file: /cvsroot/mozilla/security/coreconf/Linux.mk,v
-retrieving revision 1.27
-diff -u -r1.27 Linux.mk
---- mozilla/security/coreconf/Linux.mk 16 Sep 2005 17:09:23 -0000 1.27
-+++ mozilla/security/coreconf/Linux.mk 15 Dec 2005 21:25:00 -0000
-@@ -165,7 +165,7 @@
- ARCH = linux
-
- DSO_CFLAGS = -fPIC
--DSO_LDOPTS = -shared $(ARCHFLAG)
-+DSO_LDOPTS = -shared $(ARCHFLAG) -Wl,-z,defs
- DSO_LDFLAGS =
- LDFLAGS += $(ARCHFLAG)
-
diff --git a/dev-libs/nss/nss-3.11.1.ebuild b/dev-libs/nss/nss-3.11.1.ebuild
deleted file mode 100644
index ca11a4c41977..000000000000
--- a/dev-libs/nss/nss-3.11.1.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nss/nss-3.11.1.ebuild,v 1.1 2006/06/02 23:54:17 anarchy Exp $
-
-inherit eutils
-
-NSPR_VER="4.6.2"
-RTM_NAME="NSS_${PV//./_}_RTM"
-DESCRIPTION="Mozilla's Netscape Security Services Library that implements PKI support"
-HOMEPAGE="http://www.mozilla.org/projects/security/pki/nss/"
-SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/${RTM_NAME}/src/${P}.tar.gz"
-
-LICENSE="MPL-1.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE=""
-
-DEPEND="virtual/libc
- app-arch/zip
- >=dev-libs/nspr-${NSPR_VER}"
-
-src_unpack() {
- unpack ${A}
-
- # hack nspr paths
- echo 'INCLUDES += -I${ROOT}/usr/include/nspr -I$(DIST)/include/dbm' \
- >> ${S}/mozilla/security/coreconf/headers.mk || die "failed to append include"
-
- # cope with nspr being in /usr/$(get_libdir)/nspr
- sed -e 's:$(DIST)/lib:${ROOT}/usr/'"$(get_libdir)"/nspr':' \
- -i ${S}/mozilla/security/coreconf/location.mk
-
- # modify install path
- sed -e 's:SOURCE_PREFIX = $(CORE_DEPTH)/\.\./dist:SOURCE_PREFIX = $(CORE_DEPTH)/dist:' \
- -i ${S}/mozilla/security/coreconf/source.mk
-
- cd ${S}
- epatch ${FILESDIR}/${PN}-${PV}-zdefs.patch
- epatch ${FILESDIR}/${PN}-3.11-config.patch
- epatch ${FILESDIR}/${PN}-3.11-config-1.patch
- epatch ${FILESDIR}/${PN}-mips64.patch
-}
-
-src_compile() {
- if use amd64 || use ppc64 || use ia64 || use s390; then
- export USE_64=1
- fi
- export NSDISTMODE=copy
- cd ${S}/mozilla/security/coreconf
- emake -j1 BUILD_OPT=1 || die "coreconf make failed"
- cd ${S}/mozilla/security/dbm
- emake -j1 BUILD_OPT=1 || die "dbm make failed"
- cd ${S}/mozilla/security/nss
- emake -j1 BUILD_OPT=1 || die "nss make failed"
-}
-
-src_install () {
- MINOR_VERSION=11
- cd ${S}/mozilla/security/dist
-
- # put all *.a files in /usr/lib/nss (because some have conflicting names
- # with existing libraries)
- dodir /usr/$(get_libdir)/nss
- cp -L */lib/*.so ${D}/usr/$(get_libdir)/nss || die "copying shared libs failed"
- cp -L */lib/*.chk ${D}/usr/$(get_libdir)/nss || die "copying chk files failed"
- cp -L */lib/*.a ${D}/usr/$(get_libdir)/nss || die "copying libs failed"
-
- # all the include files
- insinto /usr/include/nss
- doins private/nss/*.h
- doins public/nss/*.h
- cd ${D}/usr/$(get_libdir)/nss
- for file in *.so; do
- mv ${file} ${file}.${MINOR_VERSION}
- ln -s ${file}.${MINOR_VERSION} ${file}
- done
-
- # coping with nss being in a different path. We move up priority to
- # ensure that nss/nspr are used specifically before searching elsewhere.
- dodir /etc/env.d
- echo "LDPATH=/usr/$(get_libdir)/nss" > ${D}/etc/env.d/08nss
-
- dodir /usr/bin
- dodir /usr/$(get_libdir)/pkgconfig
- cp ${FILESDIR}/nss-config.in ${D}/usr/bin/nss-config
- cp ${FILESDIR}/nss.pc.in ${D}/usr/$(get_libdir)/pkgconfig/nss.pc
- NSS_VMAJOR=`cat ${S}/mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VMAJOR" | awk '{print $3}'`
- NSS_VMINOR=`cat ${S}/mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VMINOR" | awk '{print $3}'`
- NSS_VPATCH=`cat ${S}/mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VPATCH" | awk '{print $3}'`
-
- sed -e "s,@libdir@,/usr/"$(get_libdir)"/nss,g" \
- -e "s,@prefix@,/usr,g" \
- -e "s,@exec_prefix@,\$\{prefix},g" \
- -e "s,@includedir@,\$\{prefix}/include/nss,g" \
- -e "s,@MOD_MAJOR_VERSION@,$NSS_VMAJOR,g" \
- -e "s,@MOD_MINOR_VERSION@,$NSS_VMINOR,g" \
- -e "s,@MOD_PATCH_VERSION@,$NSS_VPATCH,g" \
- -i ${D}/usr/bin/nss-config
- chmod 755 ${D}/usr/bin/nss-config
-
- sed -e "s,@libdir@,/usr/"$(get_libdir)"/nss,g" \
- -e "s,@prefix@,/usr,g" \
- -e "s,@exec_prefix@,\$\{prefix},g" \
- -e "s,@includedir@,\$\{prefix}/include/nss," \
- -e "s,@NSPR_VERSION@,`nspr-config --version`,g" \
- -e "s,@NSS_VERSION@,$NSS_VMAJOR.$NSS_VMINOR.$NSS_VPATCH,g" \
- -i ${D}/usr/$(get_libdir)/pkgconfig/nss.pc
- chmod 644 ${D}/usr/$(get_libdir)/pkgconfig/nss.pc
-}
diff --git a/dev-libs/nss/nss-3.11.ebuild b/dev-libs/nss/nss-3.11.ebuild
deleted file mode 100644
index 144a5d6ec9e9..000000000000
--- a/dev-libs/nss/nss-3.11.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nss/nss-3.11.ebuild,v 1.1 2006/01/30 17:36:32 anarchy Exp $
-
-inherit eutils
-
-NSPR_VER="4.6.1"
-RTM_NAME="NSS_${PV//./_}_RTM"
-DESCRIPTION="Mozilla's Netscape Security Services Library that implements PKI support"
-HOMEPAGE="http://www.mozilla.org/projects/security/pki/nss/"
-SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/${RTM_NAME}/src/${P}.tar.gz"
-
-LICENSE="MPL-1.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE=""
-
-DEPEND="virtual/libc
- app-arch/zip
- >=dev-libs/nspr-${NSPR_VER}"
-
-src_unpack() {
- unpack ${A}
-
- # hack nspr paths
- echo 'INCLUDES += -I${ROOT}/usr/include/nspr -I$(DIST)/include/dbm' \
- >> ${S}/mozilla/security/coreconf/headers.mk || die "failed to append include"
-
- # cope with nspr being in /usr/$(get_libdir)/nspr
- sed -e 's:$(DIST)/lib:${ROOT}/usr/'"$(get_libdir)"/nspr':' \
- -i ${S}/mozilla/security/coreconf/location.mk
-
- # modify install path
- sed -e 's:SOURCE_PREFIX = $(CORE_DEPTH)/\.\./dist:SOURCE_PREFIX = $(CORE_DEPTH)/dist:' \
- -i ${S}/mozilla/security/coreconf/source.mk
-
- cd ${S}
- epatch ${FILESDIR}/${PN}-${PV}-zdefs.patch
- epatch ${FILESDIR}/${PN}-${PV}-config.patch
-}
-
-src_compile() {
- if use amd64 || use ppc64 || use ia64 || use s390; then
- export USE_64=1
- fi
-
- cd ${S}/mozilla/security/coreconf
- emake -j1 BUILD_OPT=1 || die "coreconf make failed"
- cd ${S}/mozilla/security/dbm
- emake -j1 BUILD_OPT=1 || die "dbm make failed"
- cd ${S}/mozilla/security/nss
- emake -j1 BUILD_OPT=1 || die "nss make failed"
-}
-
-src_install () {
- cd ${S}/mozilla/security/dist
-
- # put all *.a files in /usr/lib/nss (because some have conflicting names
- # with existing libraries)
- dodir /usr/$(get_libdir)/nss
- cp -L */lib/*.so ${D}/usr/$(get_libdir)/nss || die "copying shared libs failed"
- cp -L */lib/*.chk ${D}/usr/$(get_libdir)/nss || die "copying chk files failed"
- cp -L */lib/*.a ${D}/usr/$(get_libdir)/nss || die "copying libs failed"
-
- # all the include files
- insinto /usr/include/nss
- doins private/nss/*.h
- doins public/nss/*.h
-
- # coping with nss being in a different path. We move up priority to
- # ensure that nss/nspr are used specifically before searching elsewhere.
- dodir /etc/env.d
- echo "LDPATH=/usr/$(get_libdir)/nss" > ${D}/etc/env.d/08nss
-
- dodir /usr/bin
- dodir /usr/$(get_libdir)/pkgconfig
- cp ${FILESDIR}/nss-config.in ${D}/usr/bin/nss-config
- cp ${FILESDIR}/nss.pc.in ${D}/usr/$(get_libdir)/pkgconfig/nss.pc
- NSS_VMAJOR=`cat ${S}/mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VMAJOR" | awk '{print $3}'`
- NSS_VMINOR=`cat ${S}/mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VMINOR" | awk '{print $3}'`
- NSS_VPATCH=`cat ${S}/mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VPATCH" | awk '{print $3}'`
-
- sed -e "s,@libdir@,/usr/"$(get_libdir)"/nss,g" \
- -e "s,@prefix@,/usr,g" \
- -e "s,@exec_prefix@,\$\{prefix},g" \
- -e "s,@includedir@,\$\{prefix}/include/nss,g" \
- -e "s,@MOD_MAJOR_VERSION@,$NSS_VMAJOR,g" \
- -e "s,@MOD_MINOR_VERSION@,$NSS_VMINOR,g" \
- -e "s,@MOD_PATCH_VERSION@,$NSS_VPATCH,g" \
- -i ${D}/usr/bin/nss-config
- chmod 755 ${D}/usr/bin/nss-config
-
- sed -e "s,@libdir@,/usr/"$(get_libdir)"/nss,g" \
- -e "s,@prefix@,/usr,g" \
- -e "s,@exec_prefix@,\$\{prefix},g" \
- -e "s,@includedir@,\$\{prefix}/include/nss," \
- -e "s,@NSPR_VERSION@,`nspr-config --version`,g" \
- -e "s,@NSS_VERSION@,$NSS_VMAJOR.$NSS_VMINOR.$NSS_VPATCH,g" \
- -i ${D}/usr/$(get_libdir)/pkgconfig/nss.pc
- chmod 644 ${D}/usr/$(get_libdir)/pkgconfig/nss.pc
-}