wok-6.x diff bc/receipt @ rev 16786

Add softether
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 27 13:13:18 2014 +0200 (2014-06-27)
parents e91591bae3d5
children 11b5e93cb5f2
line diff
     1.1 --- a/bc/receipt	Sat May 21 17:55:13 2011 +0000
     1.2 +++ b/bc/receipt	Fri Jun 27 13:13:18 2014 +0200
     1.3 @@ -1,29 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="bc"
     1.7 -VERSION="1.06"
     1.8 +VERSION="1.06.95"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="Bc is a cmdline calculator."
    1.11 +SHORT_DESC="Bc is a cmdline calculator"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +LICENSE="GPL2 LGPL2.1"
    1.15  WEB_SITE="http://www.gnu.org/software/bc/"
    1.16 -WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.17 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 +WGET_URL="http://alpha.gnu.org/gnu/$PACKAGE/$TARBALL"
    1.19  TAGS="calculator"
    1.20  
    1.21 -DEPENDS=""
    1.22 -BUILD_DEPENDS="flex"
    1.23 +DEPENDS="ncurses readline"
    1.24 +BUILD_DEPENDS="flex readline-dev texinfo"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	cd $src
    1.30 -    ./configure $CONFIGURE_ARGS && make &&
    1.31 -    make DESTDIR=$DESTDIR install
    1.32 +	./configure \
    1.33 +		--with-readline \
    1.34 +		$CONFIGURE_ARGS &&
    1.35 +	make &&
    1.36 +	make install
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40  genpkg_rules()
    1.41  {
    1.42 -    mkdir -p $fs/usr/bin
    1.43 -    cp -a $_pkg/usr/bin/* $fs/usr/bin
    1.44 +	mkdir -p $fs/usr/bin
    1.45 +	cp -a $install/usr/bin/* $fs/usr/bin
    1.46  }