wok-next view bc/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 9a17d981d0f7 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="bc"
4 VERSION="1.07.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Bc is a cmdline calculator"
7 MAINTAINER="pankso@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"
11 HOST_ARCH="i486 x86_64"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
16 BUILD_DEPENDS="flex readline-dev texinfo"
18 compile_rules() {
19 # Change an internal script to use sed instead of ed
20 install -m0755 $stuff/fix-libmath_h bc/fix-libmath_h
22 ./configure \
23 --with-readline \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 copy @std
31 TAGS="LFS calculator"
32 DEPENDS="ncurses readline"
33 }