wok-4.x view galculator/receipt @ rev 6914
Added xz to busybox. Doesn't change size of busybox. This is show we can use tar.xz compress for tazpkg files if we want to. Added pre_install and post_remove functions to xz receipt.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 21 23:49:16 2010 +0000 (2010-10-21) |
parents | de4bec8b35fc |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="galculator"
4 VERSION="1.3.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Graphical scientific calculator."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libglade xorg-libXdamage"
9 BUILD_DEPENDS="perl pkg-config gtk+-dev libglade-dev xorg-xproto intltool"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://galculator.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
31 }