aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/nss/APKBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/main/nss/APKBUILD b/main/nss/APKBUILD
index 1a60926d81..b037952f94 100644
--- a/main/nss/APKBUILD
+++ b/main/nss/APKBUILD
@@ -1,15 +1,15 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=nss
pkgver=3.12.8
-_ver=3_12_8
-pkgrel=4
+_ver=${pkgver/./_}
+pkgrel=5
pkgdesc="Mozilla Network Security Services"
url="http://www.mozilla.org/projects/security/pki/nss/"
arch="all"
license="MPL GPL"
depends=
makedepends="nspr-dev sqlite-dev zlib-dev perl"
-subpackages="$pkgname-dev libnss"
+subpackages="$pkgname-dev $pkgname-tools"
source="ftp://ftp.mozilla.org/pub/security/$pkgname/releases/NSS_${_ver}_RTM/src/$pkgname-$pkgver.tar.gz
nss-no-rpath.patch
nss.pc.in
@@ -51,7 +51,7 @@ build() {
}
package() {
- replaces="nss-dev"
+ replaces="nss-dev libnss"
cd "$_builddir"
@@ -118,7 +118,7 @@ dev() {
mv "$pkgdir"/usr/bin/nss-config "$subpkgdir"/usr/bin
cd "$pkgdir" || return 0
- for i in usr/include usr/lib/pkgconfig; do
+ for i in usr/include usr/lib/pkgconfig usr/lib/*.a; do
if [ -e "$pkgdir/$i" ] || [ -L "$pkgdir/$i" ]; then
d="$subpkgdir/${i%/*}" # dirname $i
mkdir -p "$d"
@@ -130,10 +130,11 @@ dev() {
return 0
}
-libnss() {
- pkgdesc="Mozilla Network Security Service libraries"
+tools() {
+ pkgdesc="Tools for the Network Security Services"
+ replaces="nss"
mkdir -p "$subpkgdir"/usr/
- mv "$pkgdir"/usr/lib "$subpkgdir"/usr
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
md5sums="40bf1bb0c7567827d3768d1fc6081100 nss-3.12.8.tar.gz