wok-4.x view gperiodic/receipt @ rev 12376
xorg-xauth: add common path (thanks mojo)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 29 09:47:08 2013 +0100 (2013-01-29) |
parents | 8b79c3ee7ac2 |
children |
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 }