wok-next annotate nspr/receipt @ rev 19784
Build glib static libs and make static desktop-file-validate (for cookutils compressor), remake optipng & pngquant: use sbin for static binaries. Up 915resolution, Qt4-qca-ossl, R, accessx, advancecomp, aiksaurus, airpwn, amsn for auto-patching; lowercase libIDL, ORBit2 names.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jun 19 04:02:32 2017 +0300 (2017-06-19) |
parents | 547cf085b858 |
children | 0e7893ac206d |
rev | line source |
---|---|
al@19784 | 1 # SliTaz package receipt v2. |
slaxemulator@6882 | 2 |
slaxemulator@6882 | 3 PACKAGE="nspr" |
al@19784 | 4 VERSION="4.13.1" |
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" |
devl547@17788 | 9 WEB_SITE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR" |
slaxemulator@6882 | 10 |
al@19784 | 11 TARBALL="nspr-$VERSION.tar.gz" |
al@19784 | 12 WGET_URL="https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v$VERSION/src/$TARBALL" |
al@19784 | 13 |
pascal@15584 | 14 BUILD_DEPENDS="perl" |
al@19784 | 15 SPLIT="nspr-dev" |
pascal@15584 | 16 |
slaxemulator@6882 | 17 # Rules to configure and make the package. |
slaxemulator@6882 | 18 compile_rules() |
slaxemulator@6882 | 19 { |
al@19784 | 20 cd nspr && |
al@19784 | 21 sed -ri 's#^(RELEASE_BINS =).*#\1#' pr/src/misc/Makefile.in && |
al@19784 | 22 sed -i 's#$(LIBRARY) ##' config/rules.mk && |
al@19784 | 23 |
domcox@14156 | 24 ./configure \ |
domcox@14156 | 25 --with-mozilla \ |
domcox@14156 | 26 --with-pthreads \ |
domcox@14156 | 27 $([ $(uname -m) = x86_64 ] && echo --enable-64bit) \ |
pankso@10399 | 28 $CONFIGURE_ARGS && |
al@19784 | 29 make && make install |
slaxemulator@6882 | 30 } |
slaxemulator@6882 | 31 |
slaxemulator@6882 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6882 | 33 genpkg_rules() |
slaxemulator@6882 | 34 { |
al@19784 | 35 case $PACKAGE in |
al@19784 | 36 nspr) copy @std;; |
al@19784 | 37 *-dev) copy @dev;; |
al@19784 | 38 esac |
slaxemulator@6882 | 39 } |