wok-next annotate gperiodic/receipt @ rev 13145

obconf: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 10 09:41:24 2012 +0200 (2012-07-10)
parents 8b79c3ee7ac2
children de49f29b101e
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 }
erjo@511 33