wok annotate gperiodic/receipt @ rev 511

Add: newt, Gperiodic. Typos in chemtool
author "Eric Joseph-Alewandre <erjo@slitaz.org>"
date Mon Apr 07 02:10:11 2008 +0200 (2008-04-07)
parents
children 9b3d2133ce0f
rev   line source
erjo@511 1 # SliTaz package receipt.
erjo@511 2
erjo@511 3 PACKAGE="gperiodic"
erjo@511 4 VERSION="2.0.10"
erjo@511 5 CATEGORY="extras"
erjo@511 6 SHORT_DESC="A periodic table element"
erjo@511 7 MAINTAINER="Erjo <erjo@slitaz.org>"
erjo@511 8 DEPENDS="gtk+"
erjo@511 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@511 10 WEB_SITE="http://www.frantz.fi/software/gperiodic.php"
erjo@511 11 WGET_URL="http://www.frantz.fi/software/$TARBALL"
erjo@511 12
erjo@511 13 # Rules to configure and make the package.
erjo@511 14 compile_rules()
erjo@511 15 {
erjo@511 16 cd $src
erjo@511 17 make
erjo@511 18 }
erjo@511 19
erjo@511 20 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@511 21 genpkg_rules()
erjo@511 22 {
erjo@511 23 mkdir -p $fs/usr/bin $fs/usr/share/applications \
erjo@511 24 $fs/usr/share/pixmaps $fs/usr/share/locale/fr/LC_MESSAGES
erjo@511 25
erjo@511 26 cp -a $src/gperiodic $fs/usr/bin
erjo@511 27 cp -a $src/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/gperiodic.mo
erjo@511 28 cp -a $src/gperiodic.desktop $fs/usr/share/applications
erjo@511 29 cp -a $src/gperiodic.png $fs/usr/share/pixmaps
erjo@511 30 strip -s $fs/usr/bin/*
erjo@511 31 }
erjo@511 32