wok annotate gperiodic/receipt @ rev 23382

updated perl-number-compare (0.01 -> 0.03)
author Hans-G?nter Theisgen
date Tue Mar 31 14:53:05 2020 +0100 (2020-03-31)
parents a78610b2eb47
children 932cd974e081
rev   line source
erjo@511 1 # SliTaz package receipt.
erjo@511 2
erjo@511 3 PACKAGE="gperiodic"
Hans-G?nter@20991 4 VERSION="3.0.3"
pascal@745 5 CATEGORY="misc"
Hans-G?nter@20991 6 SHORT_DESC="A periodic table element."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15600 8 LICENSE="GPL2"
Hans-G?nter@20991 9 WEB_SITE="https://sourceforge.net/projects/gperiodic/"
Hans-G?nter@20991 10
erjo@511 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@20991 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
erjo@511 13
pascal@15600 14 DEPENDS="gtk+ xorg-libXdamage"
pascal@15600 15 BUILD_DEPENDS="gtk+-dev"
pascal@15600 16
erjo@511 17 # Rules to configure and make the package.
erjo@511 18 compile_rules()
erjo@511 19 {
pascal@1530 20 sed -i 's| GtkTooltips| struct _GtkTooltips|' gperiodic.h
erjo@511 21 make
erjo@511 22 }
erjo@511 23
erjo@511 24 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@511 25 genpkg_rules()
erjo@511 26 {
Hans-G?nter@20991 27 mkdir -p $fs/usr/bin \
Hans-G?nter@20991 28 $fs/usr/share/applications \
Hans-G?nter@20991 29 $fs/usr/share/pixmaps \
Hans-G?nter@20991 30 $fs/usr/share/locale
erjo@511 31
Hans-G?nter@20991 32 cp -a $src/gperiodic $fs/usr/bin
Hans-G?nter@20991 33 cp -a $src/gperiodic.desktop $fs/usr/share/applications
Hans-G?nter@20991 34 cp -a $src/icons/gperiodic.png $fs/usr/share/pixmaps
Hans-G?nter@20991 35
Hans-G?nter@20991 36 # locales
Hans-G?nter@20991 37 LOCALE="ca da de es fr id it pl pt_BR ru sv uk zh_CN"
Hans-G?nter@20991 38 for locale in $LOCALE
Hans-G?nter@20991 39 do
Hans-G?nter@20991 40 if [ -e $src/po/$locale.mo ]
Hans-G?nter@20991 41 then
Hans-G?nter@20991 42 mkdir -p $fs/usr/share/locale/$locale/LC_MESSAGES
Hans-G?nter@20991 43 cp -a $src/po/$locale.mo \
Hans-G?nter@20991 44 $fs/usr/share/locale/$locale/LC_MESSAGES/gperiodic.mo
Hans-G?nter@20991 45 fi
Hans-G?nter@20991 46 done
erjo@511 47 }
erjo@511 48
Hans-G?nter@20991 49
Hans-G?nter@20991 50
Hans-G?nter@20991 51
Hans-G?nter@20991 52
Hans-G?nter@20991 53
Hans-G?nter@20991 54
Hans-G?nter@20991 55
Hans-G?nter@20991 56 :