wok view gperiodic/receipt @ rev 10556

pam_mount: update bdeps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 21:37:55 2011 +0200 (2011-05-25)
parents 8b79c3ee7ac2
children de49f29b101e
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 DEPENDS="gtk+ xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.frantz.fi/software/gperiodic.php"
12 WGET_URL="http://www.frantz.fi/software/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's| GtkTooltips| struct _GtkTooltips|' gperiodic.h
19 make
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin $fs/usr/share/applications \
26 $fs/usr/share/pixmaps $fs/usr/share/locale/fr/LC_MESSAGES
28 cp -a $src/gperiodic $fs/usr/bin
29 cp -a $src/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/gperiodic.mo
30 cp -a $src/gperiodic.desktop $fs/usr/share/applications
31 cp -a $src/gperiodic.png $fs/usr/share/pixmaps
32 }