wok-next view bc/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 90a5eb560fd6
children 82b613cfd1e0
line source
1 # SliTaz package receipt v2.
3 PACKAGE="bc"
4 VERSION="1.07.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Commandline calculator"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="https://www.gnu.org/software/bc/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/bc.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="flex readline-dev texinfo"
17 compile_rules() {
18 # Change an internal script to use sed instead of ed
19 install -m0755 $stuff/fix-libmath_h bc/fix-libmath_h
21 ./configure \
22 --with-readline \
23 $CONFIGURE_ARGS &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 copy @std
30 TAGS="LFS calculator"
31 DEPENDS="ncurses readline"
32 }