diff --git a/nss-3.23-0.bee b/nss-3.23-0.bee deleted file mode 100755 index c7eacf47f..000000000 --- a/nss-3.23-0.bee +++ /dev/null @@ -1,96 +0,0 @@ -#!/usr/bin/env beesh - -## this file was created by bee init and should be executed to build a -## bee-package. (Additional hints are located at the end of this file.) - -############################################################################### -## The source URL(s) define the location of the sources that will be -## downloaded. Version variables may be used to simplify reuse of this bee-file. - -SRCURL[0]="https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_23_RTM/src/nss-${PKGVERSION}.tar.gz" - -############################################################################### -## Add URLs/pathes to patch files to the PATCHURL array. -## The sources will be patched in the order of the array. - -PATCHURL+=(http://www.linuxfromscratch.org/patches/blfs/7.9/nss-3.23-standalone-1.patch) - -############################################################################### -## Add filename patterns to the EXCLUDE array of files that should not -## be added to you package but may be present in the image directory. - -# EXCLUDE+=() - -############################################################################### -## Uncomment the next statement, if the software may not be able to be build -## outside the source directory and need to be build inside the source -## directory. - -build_in_sourcedir - -############################################################################### -## bee cannot detect buildtypes specified in subdirectories. -## Sometimes packages "hide" the real sources in a subdirectory named -## 'src' or 'cmake' or .. -## use 'sourcesubdir_append' to specify this directory if known. - -# sourcesubdir_append src - - -############################################################################### -## Change the default (auto-detected) steps to -## extract, patch, configure/setup, build and install the software. -## Make sure the mee_install function does install everything to the -## image directory "${D}" - -#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 -} - -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}"' - -############################################################################### -## -## Additional hints: -## -## The name of this bee-file should follow the following naming convention: -## pkgname-pkgversion-pkgrevision.bee -## -## You may remove all comments as long as SRCURL[0] is set. -## -## Everything in this file will be executed in a bash environment. -## -## Build the package by executing -## './pkg-version-N.bee' or -## 'beesh ./pkg-version-N.bee' -## -## see http://beezinga.org/ -## diff --git a/nss.be0 b/nss.be0 new file mode 100755 index 000000000..d918051f1 --- /dev/null +++ b/nss.be0 @@ -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}"'