wok-6.x view gperiodic/receipt @ rev 18907

Up beautifulsoup (4.4.1)
author Paul Issott <paul@slitaz.org>
date Sun Feb 21 14:44:54 2016 +0000 (2016-02-21)
parents 02bbaa9d12ba
children a78610b2eb47
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="http://www.frantz.fi/software/gperiodic.php"
11 WGET_URL="http://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 }