wok-next view nss/receipt @ rev 21634
updated exiftool (11.17 -> 12.01)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 10:45:57 2020 +0100 (2020-06-26) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="nss"
4 VERSION="3.41"
5 CATEGORY="utilities"
6 SHORT_DESC="Mozilla Network Security Services (NSS)"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MPL"
9 WEB_SITE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/nss.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://archive.mozilla.org/pub/security/nss/releases/NSS_${VERSION//./_}_RTM/src/$TARBALL"
14 TARBALL_SHA1="69c60e8d3190573dbcbc01f50e68e3ceb7d92522"
16 BUILD_DEPENDS="nspr-dev sqlite3-dev zlib-dev perl"
17 SPLIT="$PACKAGE-dev"
19 DEPENDS_std="libsqlite3 nspr" # zlib
20 DEPENDS_dev="$PACKAGE nspr-dev"
22 compile_rules() {
23 case $ARCH in
24 x86_64) ARCH_ARGS='USE_64=1';;
25 *) ARCH_ARGS='';;
26 esac
28 cd nss
29 make \
30 -j1 \
31 BUILD_OPT=1 \
32 NSPR_INCLUDE_DIR=/usr/include/nspr \
33 USE_SYSTEM_ZLIB=1 \
34 ZLIB_LIBS=-lz \
35 NSS_ENABLE_WERROR=0 \
36 $ARCH_ARGS \
37 $([ -f /usr/include/sqlite3.h ] && echo NSS_USE_SYSTEM_SQLITE=1) || return 1
39 mkdir -p \
40 $install/usr/lib/ \
41 $install/usr/include/nss/ \
42 $install/usr/bin/ \
43 $install/usr/lib/pkgconfig/ \
44 $install/usr/include/nss/
45 cd ../dist
47 install -vm755 Linux*/lib/*.so $install/usr/lib/
48 install -vm644 Linux*/lib/*.chk $install/usr/lib/
49 install -vm644 Linux*/lib/libcrmf.a $install/usr/lib/
51 cp -vRL public/nss/* $install/usr/include/nss/
52 cp -vRL private/nss/* $install/usr/include/nss/
53 chmod -v 644 $install/usr/include/nss/*
55 install -vm755 Linux*/bin/certutil $install/usr/bin/
56 install -vm755 Linux*/bin/nss-config $install/usr/bin/
57 install -vm755 Linux*/bin/pk12util $install/usr/bin/
59 install -vm644 Linux*/lib/pkgconfig/nss.pc $install/usr/lib/pkgconfig/
60 }