wok-next view galculator/receipt @ rev 20978
Small improvements
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Sep 27 01:34:11 2018 +0300 (2018-09-27) |
parents | a5d7827e08cf |
children | f48456621a9d |
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="pankso@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="gtk+-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 gtk+ pango"
37 }