Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 53 lines (42 sloc) 1.47 KB
#!/usr/bin/env beesh
# BEE_VERSION nss-3.73-0
# see also http://linuxfromscratch.org/blfs/view/svn/postlfs/nss.html
# https://archive.mozilla.org/pub/security/nss/releases/NSS_3_73_RTM/src/nss-3.73.tar.gz
SRCURL[0]="https://beehive.molgen.mpg.de/b4540bf98f6583b3fcf8101f846cf3bb/nss-3.73.tar.gz"
# "https://www.linuxfromscratch.org/patches/blfs/svn/nss-3.73-standalone-1.patch"
PATCHURL[0]="https://beehive.molgen.mpg.de/f8a7ce473bd61792ef182cf0fb2d359a/nss-3.73-standalone-1.patch"
build_in_sourcedir
# sourcesubdir_append src
#mee_extract() {
# bee_extract "${@}"
#}
#mee_patch() {
# bee_patch "${@}"
#}
mee_configure() {
#bee_configure
:
}
mee_build() {
#bee_build
cd $B/nss
make BUILD_OPT=1 \
NSPR_INCLUDE_DIR=/usr/include/nspr \
USE_SYSTEM_ZLIB=1 \
ZLIB_LIBS=-lz \
NSS_ENABLE_WERROR=0 \
USE_64=1 \
NSS_USE_SYSTEM_SQLITE=1
}
mee_install() {
bee_install
cd $B/dist
mkdir -vp $D/usr/lib $D/usr/include/nss $D/usr/bin $D/usr/lib/pkgconfig
install -v -m755 Linux*/lib/*.so $D/usr/lib
install -v -m644 Linux*/lib/{*.chk,libcrmf.a} $D/usr/lib
install -v -m755 -d $D/usr/include/nss
cp -v -RL {public,private}/nss/* $D/usr/include/nss
chmod -v 644 $D/usr/include/nss/*
install -v -m755 Linux*/bin/{certutil,nss-config,pk12util} $D/usr/bin
install -v -m644 Linux*/lib/pkgconfig/nss.pc $D/usr/lib/pkgconfig
}