wok-current view gperiodic/receipt @ rev 22487
updated apcupsd (3.14.9 -> 3.14.14)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 31 13:16:39 2019 +0100 (2019-12-31) |
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 :