wok annotate gnome-calculator/receipt @ rev 18757

syslinux: compress c32 modules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 29 08:59:31 2015 +0100 (2015-12-29)
parents 9e01bc6321ea
children 204f0914c73c
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 {
al@17072 25 # SliTaz icon theme has no symbolic icons
al@17072 26 sed -i 's|-symbolic||g' $src/data/buttons*.ui
al@17072 27
yuripourre@16826 28 ./configure \
yuripourre@16826 29 --prefix=/usr \
yuripourre@16826 30 $CONFIGURE_ARGS &&
yuripourre@16826 31 make &&
yuripourre@16826 32 make DESTDIR=$DESTDIR install
yuripourre@16826 33 }
yuripourre@16826 34
yuripourre@16826 35 genpkg_rules()
yuripourre@16826 36 {
yuripourre@16826 37 cp -a $install/usr $fs
al@17072 38 rm -rf $fs/usr/share/locale
yuripourre@16826 39 }