# SliTaz package receipt. PACKAGE="bc" VERSION="1.06" CATEGORY="utilities" SHORT_DESC="Bc is a cmdline calculator." MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnu.org/software/bc/" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" TAGS="calculator" DEPENDS="" BUILD_DEPENDS="flex" # Rules to configure and make the package. compile_rules() { cd $src ./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp -a $_pkg/usr/bin/* $fs/usr/bin }