wok-next diff bc/receipt @ rev 20486

outguess: fix install path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 10:46:52 2018 +0100 (2018-03-12)
parents 9a17d981d0f7
children d5aab818505e
line diff
     1.1 --- a/bc/receipt	Thu Jun 08 00:20:23 2017 +0300
     1.2 +++ b/bc/receipt	Mon Mar 12 10:46:52 2018 +0100
     1.3 @@ -1,21 +1,24 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="bc"
     1.7 -VERSION="1.06.95"
     1.8 +VERSION="1.07.1"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="Bc is a cmdline calculator"
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL2 LGPL2.1"
    1.13  WEB_SITE="https://www.gnu.org/software/bc/"
    1.14 +LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/bc.html"
    1.15 +HOST_ARCH="i486 x86_64"
    1.16  
    1.17 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 -WGET_URL="http://alpha.gnu.org/gnu/$PACKAGE/$TARBALL"
    1.19 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.20 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.21  
    1.22  BUILD_DEPENDS="flex readline-dev texinfo"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 +compile_rules() {
    1.28 +	# Change an internal script to use sed instead of ed
    1.29 +	install -m0755 $stuff/fix-libmath_h bc/fix-libmath_h
    1.30 +
    1.31  	./configure \
    1.32  		--with-readline \
    1.33  		$CONFIGURE_ARGS &&
    1.34 @@ -23,10 +26,8 @@
    1.35  	make install
    1.36  }
    1.37  
    1.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 -genpkg_rules()
    1.40 -{
    1.41 +genpkg_rules() {
    1.42  	copy @std
    1.43 -	TAGS="calculator"
    1.44 +	TAGS="LFS calculator"
    1.45  	DEPENDS="ncurses readline"
    1.46  }