wok-next annotate nspr/receipt @ rev 20450
xcb-util* are obsolete -> xorg-xcb-util*
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 14:24:29 2018 +0200 (2018-02-28) |
parents | f5bfda4cdfe9 |
children | 555cf3b9f1ff |
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 |
al@20443 | 17 compile_rules() { |
al@20443 | 18 cd nspr |
al@20443 | 19 sed -ri 's#^(RELEASE_BINS =).*#\1#' pr/src/misc/Makefile.in |
al@20443 | 20 sed -i 's#$(LIBRARY) ##' config/rules.mk |
al@20443 | 21 |
al@20443 | 22 case $ARCH in |
al@20443 | 23 x86_64) ARCH_ARGS='--enable-64bit';; |
al@20443 | 24 *) ARCH_ARGS='';; |
al@20443 | 25 esac |
al@19784 | 26 |
domcox@14156 | 27 ./configure \ |
domcox@14156 | 28 --with-mozilla \ |
domcox@14156 | 29 --with-pthreads \ |
al@20443 | 30 $ARCH_ARGS \ |
pankso@10399 | 31 $CONFIGURE_ARGS && |
al@19784 | 32 make && make install |
slaxemulator@6882 | 33 } |
slaxemulator@6882 | 34 |
al@20443 | 35 genpkg_rules() { |
al@19784 | 36 case $PACKAGE in |
al@19784 | 37 nspr) copy @std;; |
al@19784 | 38 *-dev) copy @dev;; |
al@19784 | 39 esac |
slaxemulator@6882 | 40 } |