wok-next view nspr/receipt @ rev 21634
updated exiftool (11.17 -> 12.01)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 10:45:57 2020 +0100 (2020-06-26) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="nspr"
4 VERSION="4.20"
5 CATEGORY="utilities"
6 SHORT_DESC="Netscape Portable Runtime"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MPL2"
9 WEB_SITE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/nspr.html"
12 TARBALL="nspr-$VERSION.tar.gz"
13 WGET_URL="https://archive.mozilla.org/pub/nspr/releases/v$VERSION/src/$TARBALL"
14 TARBALL_SHA1="ef1e2ca3205fd1658a69ada2e0436266ca3065b5"
16 BUILD_DEPENDS="perl"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 cd nspr
21 sed -ri 's#^(RELEASE_BINS =).*#\1#' pr/src/misc/Makefile.in
22 sed -i 's#$(LIBRARY) ##' config/rules.mk
24 case $ARCH in
25 x86_64) ARCH_ARGS='--enable-64bit';;
26 *) ARCH_ARGS='';;
27 esac
29 ./configure \
30 --with-mozilla \
31 --with-pthreads \
32 $ARCH_ARGS \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install
36 }