wok-next view galculator/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 29128929e4f9
line source
1 # SliTaz package receipt v2.
3 PACKAGE="galculator"
4 VERSION="2.1.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Graphical scientific calculator"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://galculator.mnim.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://galculator.mnim.org/downloads/$TARBALL"
14 BUILD_DEPENDS="gtk2-dev flex intltool"
16 COOKOPTS="!pixmaps !menus"
18 compile_rules() {
19 ./configure \
20 --disable-gtk3 \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install || return 1
26 sed -i 's|Icon=.*|Icon=accessories-calculator|;
27 s|Categories=.*|Categories=Utility;Calculator;|' \
28 $install/usr/share/applications/galculator.desktop
29 }
31 genpkg_rules() {
32 copy @std
33 rm -r $fs/usr/share/pixmaps
34 find $fs -name '*gtk3*' -delete
35 sed -i 's|^[ ]*||g' $fs/usr/share/galculator/ui/*
36 DEPENDS="glib gtk2 pango"
37 }