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