wok annotate nspr/receipt @ rev 21467

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