Skip to content

Commit

Permalink
Merge pull request #515 from mariux64/update-nss
Browse files Browse the repository at this point in the history
Update nss
  • Loading branch information
donald authored Oct 19, 2017
2 parents ee9ce3e + 0953736 commit 7d75077
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 96 deletions.
96 changes: 0 additions & 96 deletions nss-3.23-0.bee

This file was deleted.

48 changes: 48 additions & 0 deletions nss.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#!/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}"'

0 comments on commit 7d75077

Please sign in to comment.