wok view gperiodic/receipt @ rev 6517

Up: mpfr, mpfr-dev to 3.0.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 02 14:39:44 2010 +0000 (2010-10-02)
parents 7a43790dff5f
children 02bbaa9d12ba
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 strip -s $fs/usr/bin/*
33 }