wok-next view bc/receipt @ rev 19701
tcptrack: remove -ltinfo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 26 10:57:18 2017 +0200 (2017-04-26) |
parents | 11b5e93cb5f2 |
children | 9a17d981d0f7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="bc"
4 VERSION="1.06.95"
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 TAGS="calculator"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://alpha.gnu.org/gnu/$PACKAGE/$TARBALL"
15 DEPENDS="ncurses readline"
16 BUILD_DEPENDS="flex readline-dev texinfo"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 patch -Np1 -i $stuff/bc-1.06.95-memory_leak-1.patch
23 ./configure \
24 --with-readline \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install
29 mkdir -p $install/usr/share/applications
30 cp $stuff/bc.desktop $install/usr/share/applications
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_files bc dc
37 }