wok-next annotate nspr/receipt @ rev 20775
quodlibet: remove non-existent package from bdeps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 20:44:57 2018 +0300 (2018-06-06) |
parents | 555cf3b9f1ff |
children | e7a485521d6a |
rev | line source |
---|---|
al@19784 | 1 # SliTaz package receipt v2. |
slaxemulator@6882 | 2 |
slaxemulator@6882 | 3 PACKAGE="nspr" |
al@20529 | 4 VERSION="4.18" |
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" |
al@20529 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/nspr.html" |
slaxemulator@6882 | 11 |
al@19784 | 12 TARBALL="nspr-$VERSION.tar.gz" |
al@20529 | 13 WGET_URL="https://archive.mozilla.org/pub/nspr/releases/v$VERSION/src/$TARBALL" |
al@19784 | 14 |
pascal@15584 | 15 BUILD_DEPENDS="perl" |
al@19784 | 16 SPLIT="nspr-dev" |
pascal@15584 | 17 |
al@20443 | 18 compile_rules() { |
al@20443 | 19 cd nspr |
al@20443 | 20 sed -ri 's#^(RELEASE_BINS =).*#\1#' pr/src/misc/Makefile.in |
al@20443 | 21 sed -i 's#$(LIBRARY) ##' config/rules.mk |
al@20443 | 22 |
al@20443 | 23 case $ARCH in |
al@20443 | 24 x86_64) ARCH_ARGS='--enable-64bit';; |
al@20443 | 25 *) ARCH_ARGS='';; |
al@20443 | 26 esac |
al@19784 | 27 |
domcox@14156 | 28 ./configure \ |
domcox@14156 | 29 --with-mozilla \ |
domcox@14156 | 30 --with-pthreads \ |
al@20443 | 31 $ARCH_ARGS \ |
pankso@10399 | 32 $CONFIGURE_ARGS && |
al@20659 | 33 make && |
al@20659 | 34 make install |
slaxemulator@6882 | 35 } |
slaxemulator@6882 | 36 |
al@20443 | 37 genpkg_rules() { |
al@19784 | 38 case $PACKAGE in |
al@19784 | 39 nspr) copy @std;; |
al@19784 | 40 *-dev) copy @dev;; |
al@19784 | 41 esac |
slaxemulator@6882 | 42 } |