wok-6.x annotate bc/receipt @ rev 17939

partimage: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 15 09:53:08 2015 +0200 (2015-04-15)
parents e91591bae3d5
children 11b5e93cb5f2
rev   line source
pankso@5 1 # SliTaz package receipt.
pankso@5 2
pankso@5 3 PACKAGE="bc"
al@14468 4 VERSION="1.06.95"
pankso@201 5 CATEGORY="utilities"
al@14468 6 SHORT_DESC="Bc is a cmdline calculator"
pankso@5 7 MAINTAINER="pankso@slitaz.org"
al@14468 8 LICENSE="GPL2 LGPL2.1"
pankso@9662 9 WEB_SITE="http://www.gnu.org/software/bc/"
al@14468 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@14468 11 WGET_URL="http://alpha.gnu.org/gnu/$PACKAGE/$TARBALL"
pankso@9662 12 TAGS="calculator"
pankso@9662 13
al@14468 14 DEPENDS="ncurses readline"
al@14468 15 BUILD_DEPENDS="flex readline-dev texinfo"
pankso@5 16
pankso@5 17 # Rules to configure and make the package.
pankso@5 18 compile_rules()
pankso@5 19 {
al@14468 20 ./configure \
al@14468 21 --with-readline \
al@14468 22 $CONFIGURE_ARGS &&
al@14468 23 make &&
al@14468 24 make install
pankso@5 25 }
pankso@5 26
pankso@5 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@5 28 genpkg_rules()
pankso@5 29 {
al@14468 30 mkdir -p $fs/usr/bin
al@14468 31 cp -a $install/usr/bin/* $fs/usr/bin
pankso@5 32 }