wok view gperiodic/receipt @ rev 2037

get-flash-plugin: only flash-plugin depends on curl
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jan 11 18:12:33 2009 +0100 (2009-01-11)
parents 3d99ecce2d4b
children 8b79c3ee7ac2
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+"
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 strip -s $fs/usr/bin/*
33 }