wok-next annotate 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 |
rev | line source |
---|---|
al@20570 | 1 # SliTaz package receipt v2. |
pankso@518 | 2 |
pankso@518 | 3 PACKAGE="galculator" |
al@20899 | 4 VERSION="2.1.4" |
pankso@518 | 5 CATEGORY="system-tools" |
al@20570 | 6 SHORT_DESC="Graphical scientific calculator" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@20899 | 9 WEB_SITE="http://galculator.mnim.org/" |
al@20570 | 10 |
al@20899 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@20899 | 12 WGET_URL="http://galculator.mnim.org/downloads/$TARBALL" |
pankso@518 | 13 |
al@21017 | 14 BUILD_DEPENDS="gtk2-dev flex intltool" |
al@13718 | 15 |
al@20570 | 16 COOKOPTS="!pixmaps !menus" |
al@20570 | 17 |
al@20570 | 18 compile_rules() { |
al@16925 | 19 ./configure \ |
al@16925 | 20 --disable-gtk3 \ |
al@16925 | 21 $CONFIGURE_ARGS && |
al@20570 | 22 fix libtool && |
al@20570 | 23 make && |
al@20570 | 24 make install || return 1 |
al@20570 | 25 |
al@20899 | 26 sed -i 's|Icon=.*|Icon=accessories-calculator|; |
al@20899 | 27 s|Categories=.*|Categories=Utility;Calculator;|' \ |
al@20899 | 28 $install/usr/share/applications/galculator.desktop |
pankso@518 | 29 } |
pankso@518 | 30 |
al@20570 | 31 genpkg_rules() { |
al@20570 | 32 copy @std |
al@20570 | 33 rm -r $fs/usr/share/pixmaps |
al@20570 | 34 find $fs -name '*gtk3*' -delete |
al@16925 | 35 sed -i 's|^[ ]*||g' $fs/usr/share/galculator/ui/* |
al@21017 | 36 DEPENDS="glib gtk2 pango" |
pankso@518 | 37 } |