wok annotate gperiodic/receipt @ rev 2068
Add perl-soap-lite
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 23 17:56:28 2009 +0000 (2009-01-23) |
parents | 3d99ecce2d4b |
children | 8b79c3ee7ac2 |
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" |
erjo@511 | 8 DEPENDS="gtk+" |
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 |