wok-next annotate galculator/receipt @ rev 20899

fuse3: up (3.2.4); galculator: up (2.1.4); gcr: up (3.28.0); gdk-pixbuf: up (2.36.12)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jul 21 13:39:12 2018 +0300 (2018-07-21)
parents a5d7827e08cf
children f48456621a9d
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"
pankso@518 7 MAINTAINER="pankso@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@20899 14 BUILD_DEPENDS="gtk+-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@20899 36 DEPENDS="glib gtk+ pango"
pankso@518 37 }