wok-current view bc/receipt @ rev 24556

updated flatpress (0.1010.2 -> 1.2.1)
author Hans-G?nter Theisgen
date Fri Feb 25 14:05:00 2022 +0100 (2022-02-25)
parents 07f494afd5e6
children 5926178cd6fa
line source
1 # SliTaz package receipt.
3 PACKAGE="bc"
4 VERSION="1.07.1"
5 CATEGORY="utilities"
6 TAGS="calculator"
7 SHORT_DESC="A commandline calculator."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2 LGPL2.1"
10 WEB_SITE="https://www.gnu.org/software/bc/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
15 DEPENDS="flex ncurses readline"
16 BUILD_DEPENDS="ed flex readline-dev texinfo"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --with-readline \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_files bc dc
39 }