wok annotate gperiodic/receipt @ rev 3451

fix fix xchm depends
author Allan Pinto <allan316@gmail.com>
date Mon Jun 15 09:12:45 2009 +0000 (2009-06-15)
parents 7a43790dff5f
children 02bbaa9d12ba
rev   line source
erjo@511 1 # SliTaz package receipt.
erjo@511 2
erjo@511 3 PACKAGE="gperiodic"
erjo@511 4 VERSION="2.0.10"
pascal@745 5 CATEGORY="misc"
erjo@511 6 SHORT_DESC="A periodic table element"
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@2516 8 DEPENDS="gtk+ xorg-libXdamage"
pascal@1511 9 BUILD_DEPENDS="gtk+-dev"
erjo@511 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@511 11 WEB_SITE="http://www.frantz.fi/software/gperiodic.php"
erjo@511 12 WGET_URL="http://www.frantz.fi/software/$TARBALL"
erjo@511 13
erjo@511 14 # Rules to configure and make the package.
erjo@511 15 compile_rules()
erjo@511 16 {
erjo@511 17 cd $src
pascal@1530 18 sed -i 's| GtkTooltips| struct _GtkTooltips|' gperiodic.h
erjo@511 19 make
erjo@511 20 }
erjo@511 21
erjo@511 22 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@511 23 genpkg_rules()
erjo@511 24 {
erjo@511 25 mkdir -p $fs/usr/bin $fs/usr/share/applications \
erjo@511 26 $fs/usr/share/pixmaps $fs/usr/share/locale/fr/LC_MESSAGES
erjo@511 27
erjo@511 28 cp -a $src/gperiodic $fs/usr/bin
erjo@511 29 cp -a $src/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/gperiodic.mo
erjo@511 30 cp -a $src/gperiodic.desktop $fs/usr/share/applications
erjo@511 31 cp -a $src/gperiodic.png $fs/usr/share/pixmaps
erjo@511 32 strip -s $fs/usr/bin/*
erjo@511 33 }
erjo@511 34