wok-6.x annotate gnome-calculator/receipt @ rev 22600
updated most of the claws-mail packages (3.9.3 -> 3.17.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jan 08 16:17:41 2020 +0100 (2020-01-08) |
parents | 204f0914c73c |
children | 6831608a1b2a |
rev | line source |
---|---|
yuripourre@16826 | 1 # SliTaz package receipt. |
yuripourre@16826 | 2 |
yuripourre@16826 | 3 PACKAGE="gnome-calculator" |
yuripourre@16826 | 4 VERSION="3.10.2" |
yuripourre@16826 | 5 CATEGORY="utilities" |
yuripourre@16826 | 6 LICENSE="GPL3" |
yuripourre@16826 | 7 SHORT_DESC="GNOME Calculator is a powerful graphical calculator with financial, logical and scientific modes." |
yuripourre@16826 | 8 MAINTAINER="yuripourre@gmail.com" |
yuripourre@16826 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
yuripourre@16826 | 10 WEB_SITE="https://wiki.gnome.org/Apps/Calculator" |
yuripourre@16826 | 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
yuripourre@16826 | 12 |
yuripourre@16826 | 13 DEPENDS="gtk+3 glib" |
al@17073 | 14 BUILD_DEPENDS="gtk+3-dev glib-dev itstool yelp-xsl vala" |
yuripourre@16826 | 15 |
al@17072 | 16 L10N_MO="af am ar as ast az be@latin be bg bn_IN bn bs ca ca@valencia cs cy da \ |
al@17072 | 17 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 \ |
al@17072 | 18 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 \ |
al@17072 | 19 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 \ |
al@17072 | 20 xh zh_CN zh_HK zh_TW" |
al@17072 | 21 |
yuripourre@16826 | 22 # Rules to configure and make the package. |
yuripourre@16826 | 23 compile_rules() |
yuripourre@16826 | 24 { |
pascal@20619 | 25 sed -i '/xalign/d' src/math-preferences.* |
pascal@20618 | 26 sed -i -e 's|Number.integer (num|this.integer (num|' \ |
pascal@20618 | 27 -e 's|Number.double (Math.PI)|this.double (Math.PI)|' \ |
pascal@20618 | 28 -e 's|Number.complex (x.multiply|this.complex (x.multiply|' \ |
pascal@20618 | 29 -e 's|Number.double (Random|this.double (Random|' \ |
pascal@20618 | 30 src/number.vala |
pascal@20618 | 31 sed -i 's|.*insert_with_tags.*|#if VALA_0_28\ |
pascal@20618 | 32 insert_with_tags (ref ans_end, ans_text, -1, ans_tag);\ |
pascal@20618 | 33 #else\n&\n#endif|' src/math-equation.vala |
pascal@20618 | 34 |
al@17072 | 35 # SliTaz icon theme has no symbolic icons |
al@17072 | 36 sed -i 's|-symbolic||g' $src/data/buttons*.ui |
al@17072 | 37 |
yuripourre@16826 | 38 ./configure \ |
yuripourre@16826 | 39 --prefix=/usr \ |
yuripourre@16826 | 40 $CONFIGURE_ARGS && |
yuripourre@16826 | 41 make && |
yuripourre@16826 | 42 make DESTDIR=$DESTDIR install |
yuripourre@16826 | 43 } |
yuripourre@16826 | 44 |
yuripourre@16826 | 45 genpkg_rules() |
yuripourre@16826 | 46 { |
yuripourre@16826 | 47 cp -a $install/usr $fs |
al@17072 | 48 rm -rf $fs/usr/share/locale |
yuripourre@16826 | 49 } |