wok-next annotate nspr/receipt @ rev 21087

Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 28 05:11:49 2018 +0200 (2018-12-28)
parents d5aab818505e
children
rev   line source
al@19784 1 # SliTaz package receipt v2.
slaxemulator@6882 2
slaxemulator@6882 3 PACKAGE="nspr"
al@21087 4 VERSION="4.20"
slaxemulator@6882 5 CATEGORY="utilities"
slaxemulator@6882 6 SHORT_DESC="Netscape Portable Runtime"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15584 8 LICENSE="MPL2"
devl547@17788 9 WEB_SITE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR"
al@20905 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@21087 14 TARBALL_SHA1="ef1e2ca3205fd1658a69ada2e0436266ca3065b5"
al@19784 15
pascal@15584 16 BUILD_DEPENDS="perl"
al@21020 17 SPLIT="$PACKAGE-dev"
pascal@15584 18
al@20443 19 compile_rules() {
al@20443 20 cd nspr
al@20443 21 sed -ri 's#^(RELEASE_BINS =).*#\1#' pr/src/misc/Makefile.in
al@20443 22 sed -i 's#$(LIBRARY) ##' config/rules.mk
al@20443 23
al@20443 24 case $ARCH in
al@20443 25 x86_64) ARCH_ARGS='--enable-64bit';;
al@20443 26 *) ARCH_ARGS='';;
al@20443 27 esac
al@19784 28
domcox@14156 29 ./configure \
domcox@14156 30 --with-mozilla \
domcox@14156 31 --with-pthreads \
al@20443 32 $ARCH_ARGS \
pankso@10399 33 $CONFIGURE_ARGS &&
al@20659 34 make &&
al@20659 35 make install
slaxemulator@6882 36 }