diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-01-22 16:28:22 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-01-22 16:28:22 -0600 |
commit | c0d4e5f611d60a02bcbd2973195deeccc054c477 (patch) | |
tree | 3aaeb84fe722ad99eefd378086bc79547d81fdb9 /main/nss/APKBUILD | |
parent | ffdf6e30c9b1ab7095ab0fd0e14c62c56b1a9580 (diff) | |
download | aports-c0d4e5f611d60a02bcbd2973195deeccc054c477.tar.bz2 aports-c0d4e5f611d60a02bcbd2973195deeccc054c477.tar.xz |
main/nss: mozilla wants to use /usr/lib/libssl3.so and friends directly.
Diffstat (limited to 'main/nss/APKBUILD')
-rw-r--r-- | main/nss/APKBUILD | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/main/nss/APKBUILD b/main/nss/APKBUILD index 86c0c403b..2acb2d816 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/ |