wok annotate bc/receipt @ rev 19542
Build *.pc files for ncurses(w)-dev; rebuild sc-im with ncursesw.pc
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 05 15:16:10 2016 +0200 (2016-12-05) |
parents | d805d3de4546 |
children | d682cc0d7ad7 |
rev | line source |
---|---|
pankso@5 | 1 # SliTaz package receipt. |
pankso@5 | 2 |
pankso@5 | 3 PACKAGE="bc" |
al@14468 | 4 VERSION="1.06.95" |
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" |
pankso@9662 | 9 WEB_SITE="http://www.gnu.org/software/bc/" |
al@14468 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@14468 | 11 WGET_URL="http://alpha.gnu.org/gnu/$PACKAGE/$TARBALL" |
pankso@9662 | 12 TAGS="calculator" |
pankso@9662 | 13 |
al@14468 | 14 DEPENDS="ncurses readline" |
al@14468 | 15 BUILD_DEPENDS="flex readline-dev texinfo" |
pankso@5 | 16 |
pankso@5 | 17 # Rules to configure and make the package. |
pankso@5 | 18 compile_rules() |
pankso@5 | 19 { |
al@14468 | 20 ./configure \ |
al@14468 | 21 --with-readline \ |
al@14468 | 22 $CONFIGURE_ARGS && |
al@14468 | 23 make && |
al@14468 | 24 make install |
pankso@5 | 25 } |
pankso@5 | 26 |
pankso@5 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5 | 28 genpkg_rules() |
pankso@5 | 29 { |
al@19275 | 30 cook_copy_files bc dc |
pankso@5 | 31 } |