wok-next annotate 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 |
rev | line source |
---|---|
al@19745 | 1 # SliTaz package receipt v2. |
pankso@5 | 2 |
pankso@5 | 3 PACKAGE="bc" |
al@20436 | 4 VERSION="1.07.1" |
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" |
al@19571 | 9 WEB_SITE="https://www.gnu.org/software/bc/" |
al@20436 | 10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/bc.html" |
al@20436 | 11 HOST_ARCH="i486 x86_64" |
al@19571 | 12 |
al@20436 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20436 | 14 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@9662 | 15 |
al@14468 | 16 BUILD_DEPENDS="flex readline-dev texinfo" |
pankso@5 | 17 |
al@20436 | 18 compile_rules() { |
al@20436 | 19 # Change an internal script to use sed instead of ed |
al@20436 | 20 install -m0755 $stuff/fix-libmath_h bc/fix-libmath_h |
al@20436 | 21 |
al@14468 | 22 ./configure \ |
al@14468 | 23 --with-readline \ |
al@14468 | 24 $CONFIGURE_ARGS && |
al@14468 | 25 make && |
al@14468 | 26 make install |
pankso@5 | 27 } |
pankso@5 | 28 |
al@20436 | 29 genpkg_rules() { |
al@19745 | 30 copy @std |
al@20436 | 31 TAGS="LFS calculator" |
al@19745 | 32 DEPENDS="ncurses readline" |
pankso@5 | 33 } |