wok view gperiodic/receipt @ rev 22520

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