wok-current view gperiodic/receipt @ rev 20772
updated cd-discid (1.1 -> 1.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 13 16:59:39 2019 +0100 (2019-02-13) |
parents | de49f29b101e |
children | f4097dc1ae1c |
line source
1 # SliTaz package receipt.
3 PACKAGE="gperiodic"
4 VERSION="2.0.10"
5 CATEGORY="misc"
6 SHORT_DESC="A periodic table element"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.frantz.fi/software/gperiodic.php"
11 WGET_URL="https://www.frantz.fi/software/$TARBALL"
13 DEPENDS="gtk+ xorg-libXdamage"
14 BUILD_DEPENDS="gtk+-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
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 $fs/usr/share/applications \
28 $fs/usr/share/pixmaps $fs/usr/share/locale/fr/LC_MESSAGES
30 cp -a $src/gperiodic $fs/usr/bin
31 cp -a $src/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/gperiodic.mo
32 cp -a $src/gperiodic.desktop $fs/usr/share/applications
33 cp -a $src/gperiodic.png $fs/usr/share/pixmaps
34 }