
Receipt for package "gnome-calculator"
# SliTaz package receipt. PACKAGE="gnome-calculator" VERSION="3.10.2" CATEGORY="utilities" LICENSE="GPL3" SHORT_DESC="GNOME Calculator is a powerful graphical calculator with financial, logical and scientific modes." MAINTAINER="yuripourre@gmail.com" TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="https://wiki.gnome.org/Apps/Calculator" WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" DEPENDS="gtk+3 glib" BUILD_DEPENDS="gtk+3-dev glib-dev itstool yelp-xsl vala" L10N_MO="af am ar as ast az be@latin be bg bn_IN bn bs ca ca@valencia cs cy da \ de dz el en_CA en_GB en@shaw en_US eo es et eu fa fi fr ga gl gu he hi hr hu \ hy id it ja ka kk km kn ko ku lt lv mai mg mk ml mn mr ms my nb ne nl nn oc or \ pa pl pt_BR pt ro ru rw si sk sl sq sr@latin sr sv ta te tg th tk tr ug uk vi \ xh zh_CN zh_HK zh_TW" current_version() { wget -O - $(dirname $WGET_URL) 2>/dev/null | \ sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { sed -i '/xalign/d' src/math-preferences.* sed -i -e 's|Number.integer (num|this.integer (num|' \ -e 's|Number.double (Math.PI)|this.double (Math.PI)|' \ -e 's|Number.complex (x.multiply|this.complex (x.multiply|' \ -e 's|Number.double (Random|this.double (Random|' \ src/number.vala sed -i 's|.*insert_with_tags.*|#if VALA_0_28\ insert_with_tags (ref ans_end, ans_text, -1, ans_tag);\ #else\n&\n#endif|' src/math-equation.vala # SliTaz icon theme has no symbolic icons sed -i 's|-symbolic||g' $src/data/buttons*.ui ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } genpkg_rules() { cp -a $install/usr $fs rm -rf $fs/usr/share/locale }
6093 packages and 258600 files in current database (Wed Apr 23 16:49:15 2025)