wok view bc/receipt @ rev 7154

Fixed virtualbox-ose to depend -a when installed. Also fixed 60-vboxguest.rules to not error if 'tazpkg reconfigure udev' is done.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Nov 06 19:43:56 2010 +0000 (2010-11-06)
parents 04d6abcf6d15
children 03933a919f81
line source
1 # SliTaz package receipt.
3 PACKAGE="bc"
4 VERSION="1.06"
5 CATEGORY="utilities"
6 SHORT_DESC="Bc is a cmdline calculator."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 BUILD_DEPENDS="flex"
10 WEB_SITE="http://www.gnu.org/software/bc/"
11 WGET_URL="http://ftp.gnu.org/pub/gnu/bc/$TARBALL"
12 TAGS="calculator"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $PACKAGE-$VERSION
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $_pkg/usr/bin/* $fs/usr/bin
29 strip -s $fs/usr/bin/*
30 }