wok-6.x annotate galculator/receipt @ rev 21353

updated libxslt, libxslt-dev and libxslt-python (1.1.26 -> 1.1.33)
author Hans-G?nter Theisgen
date Sun Apr 21 07:53:02 2019 +0100 (2019-04-21)
parents 9ed282f9d2eb
children 8b1698fee11d
rev   line source
pankso@518 1 # SliTaz package receipt.
pankso@518 2
pankso@518 3 PACKAGE="galculator"
devl547@16199 4 VERSION="2.1.3"
pankso@518 5 CATEGORY="system-tools"
pankso@518 6 SHORT_DESC="Graphical scientific calculator."
pankso@518 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@13718 9 WEB_SITE="http://galculator.sourceforge.net/"
pankso@518 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@518 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@16282 12 HOST_ARCH="i486 arm"
al@16925 13 GENERIC_PIXMAPS="no"; GENERIC_MENUS="no"
pankso@518 14
al@13718 15 DEPENDS="gtk+"
pascal@17753 16 BUILD_DEPENDS="gtk+-dev flex sdft"
al@13718 17
pankso@518 18 # Rules to configure and make the package.
pankso@518 19 compile_rules()
pankso@518 20 {
pascal@12787 21 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@17670 22 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
al@16925 23
al@16925 24 ./configure \
al@16925 25 --disable-gtk3 \
al@16925 26 --disable-quadmath \
al@16925 27 $CONFIGURE_ARGS &&
al@16925 28 make && make install
pascal@17753 29 sdft $install/usr/share/applications/galculator.desktop -i -tf \
pascal@17753 30 -a "Name[fr]=Calculatrice scientifique" \
pascal@17753 31 -a "Name[pt]=Calculadora Científica" \
pascal@17753 32 -a "Name[pt_BR]=Calculadora Científica" \
pascal@17753 33 -a "Name[ru]=Инженерный калькулятор" \
pascal@17753 34 -a "Name[zh_CN]=科学计算器" \
pascal@17753 35 -a "Comment[ru]=Выполняйте простые и инженерные вычисления" \
al@18545 36 -s "Icon=accessories-calculator" \
pascal@17753 37 -s "Categories=Utility;Calculator;"
pankso@518 38 }
pankso@518 39
pankso@518 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@518 41 genpkg_rules()
pankso@518 42 {
al@16925 43 mkdir -p $fs/usr/share/icons/hicolor/48x48
al@16925 44
al@13718 45 cp -a $install/usr/bin $fs/usr
al@16925 46
al@16925 47 cp -a $install/usr/share/galculator $fs/usr/share
al@16925 48 find $fs/usr/share/galculator -name '*gtk3*' -delete
al@16925 49 sed -i 's|^[ ]*||g' $fs/usr/share/galculator/ui/*
al@16925 50
al@16925 51 cp -a $install/usr/share/icons/hicolor/48x48/apps $fs/usr/share/icons/hicolor/48x48
al@16925 52
al@16925 53 cp -a $install/usr/share/applications $fs/usr/share
pankso@518 54 }