wok-current annotate nspr/receipt @ rev 22693

Up libcurl (7.68.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 20 17:42:00 2020 +0100 (2020-01-20)
parents 547cf085b858
children e5abc956d567
rev   line source
slaxemulator@6882 1 # SliTaz package receipt.
slaxemulator@6882 2
slaxemulator@6882 3 PACKAGE="nspr"
Hans-G?nter@21586 4 VERSION="4.21"
slaxemulator@6882 5 CATEGORY="utilities"
Hans-G?nter@21586 6 SHORT_DESC="Netscape Portable Runtime."
slaxemulator@6882 7 MAINTAINER="rocky@slitaz.org"
pascal@15584 8 LICENSE="MPL2"
Hans-G?nter@21586 9 WEB_SITE="https://developer.mozilla.org/docs/Mozilla/Projects/NSPR"
Hans-G?nter@21586 10
slaxemulator@6882 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21586 12 WGET_URL="https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${VERSION}/src/${TARBALL}"
slaxemulator@6882 13
pascal@15584 14 DEPENDS="glibc-base"
pascal@15584 15 BUILD_DEPENDS="perl"
pascal@15584 16
slaxemulator@6882 17 # Rules to configure and make the package.
slaxemulator@6882 18 compile_rules()
slaxemulator@6882 19 {
devl547@17788 20 cd $src/nspr
Hans-G?nter@21586 21 ./configure \
Hans-G?nter@21586 22 --prefix=/usr \
Hans-G?nter@21586 23 --libdir=/usr/lib \
Hans-G?nter@21586 24 --includedir=/usr/include/nspr \
Hans-G?nter@21586 25 --enable-optimize \
Hans-G?nter@21586 26 --disable-debug \
Hans-G?nter@21586 27 --with-mozilla \
Hans-G?nter@21586 28 --with-pthreads \
domcox@14156 29 $([ $(uname -m) = x86_64 ] && echo --enable-64bit) \
pankso@10399 30 $CONFIGURE_ARGS &&
Hans-G?nter@21586 31 make &&
Hans-G?nter@21586 32 make DESTDIR=$DESTDIR install
slaxemulator@6882 33 }
slaxemulator@6882 34
slaxemulator@6882 35 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6882 36 genpkg_rules()
slaxemulator@6882 37 {
slaxemulator@6882 38 mkdir -p $fs/usr/lib
domcox@14218 39 cp -a $install/usr/lib/*so* $fs/usr/lib
slaxemulator@6882 40 }