wok-next view bc/receipt @ rev 16307
ARM: now python seems to cross compile (if libpython.so ARM are installed in sysroot)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 08 00:37:42 2014 +0200 (2014-04-08) |
parents | e91591bae3d5 |
children | 11b5e93cb5f2 |
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="http://www.gnu.org/software/bc/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://alpha.gnu.org/gnu/$PACKAGE/$TARBALL"
12 TAGS="calculator"
14 DEPENDS="ncurses readline"
15 BUILD_DEPENDS="flex readline-dev texinfo"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --with-readline \
22 $CONFIGURE_ARGS &&
23 make &&
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $install/usr/bin/* $fs/usr/bin
32 }