From c0d4e5f611d60a02bcbd2973195deeccc054c477 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 22 Jan 2011 16:28:22 -0600 Subject: main/nss: mozilla wants to use /usr/lib/libssl3.so and friends directly. --- main/nss/APKBUILD | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'main/nss') diff --git a/main/nss/APKBUILD b/main/nss/APKBUILD index 86c0c403b1..2acb2d8167 100644 --- a/main/nss/APKBUILD +++ b/main/nss/APKBUILD @@ -2,7 +2,7 @@ pkgname=nss pkgver=3.12.8 _ver=3_12_8 -pkgrel=1 +pkgrel=2 pkgdesc="Mozilla Network Security Services" url="http://www.mozilla.org/projects/security/pki/nss/" arch="all" @@ -107,6 +107,23 @@ package() { || return 1 } +dev() { + local i= j= + depends="$pkgname $depends_dev" + + cd "$pkgdir" || return 0 + for i in usr/include usr/lib/pkgconfig; do + if [ -e "$pkgdir/$i" ] || [ -L "$pkgdir/$i" ]; then + d="$subpkgdir/${i%/*}" # dirname $i + mkdir -p "$d" + mv "$pkgdir/$i" "$d" + rmdir "$pkgdir/${i%/*}" 2>/dev/null + fi + done + + return 0 +} + libnss() { pkgdesc="Mozilla Network Security Service libraries" mkdir -p "$subpkgdir"/usr/ -- cgit v1.2.3