wok-current view gnome-calculator/receipt @ rev 19651

Up cookutils (869)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jan 23 11:18:30 2017 +0200 (2017-01-23)
parents 9e01bc6321ea
children 204f0914c73c
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-calculator"
4 VERSION="3.10.2"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="GNOME Calculator is a powerful graphical calculator with financial, logical and scientific modes."
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://wiki.gnome.org/Apps/Calculator"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+3 glib"
14 BUILD_DEPENDS="gtk+3-dev glib-dev itstool yelp-xsl vala"
16 L10N_MO="af am ar as ast az be@latin be bg bn_IN bn bs ca ca@valencia cs cy da \
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 \
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 \
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 \
20 xh zh_CN zh_HK zh_TW"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 # SliTaz icon theme has no symbolic icons
26 sed -i 's|-symbolic||g' $src/data/buttons*.ui
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 genpkg_rules()
36 {
37 cp -a $install/usr $fs
38 rm -rf $fs/usr/share/locale
39 }