Skip to content
Permalink
update-mpfr-402
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 48 lines (36 sloc) 1.28 KB
#!/usr/bin/env beesh
# BEE_VERSION nss-3.33-0
SRCURL[0]=" https://archive.mozilla.org/pub/security/nss/releases/NSS_3_33_RTM/src/nss-${PKGVERSION}.tar.gz"
PATCHURL+=(http://www.linuxfromscratch.org/patches/blfs/svn/nss-${PKGVERSION}-standalone-1.patch)
# EXCLUDE+=()
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 -j1 BUILD_OPT=1 NSPR_INCLUDE_DIR=/usr/include/nspr USE_SYSTEM_ZLIB=1 ZLIB_LIBS=-lz \
USE_64=1 NSS_USE_SYSTEM_SQLITE=1 NSS_ENABLE_WERROR=0
}
mee_install() {
bee_install
cd $B/dist
mkdir -p $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
}
## by default this may be 'make install DESTDIR="${D}"'