wok annotate gperiodic/receipt @ rev 20580

go: force arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 13 22:11:22 2018 +0100 (2018-12-13)
parents 02bbaa9d12ba
children a78610b2eb47
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@15600 8 LICENSE="GPL2"
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
pascal@15600 13 DEPENDS="gtk+ xorg-libXdamage"
pascal@15600 14 BUILD_DEPENDS="gtk+-dev"
pascal@15600 15
erjo@511 16 # Rules to configure and make the package.
erjo@511 17 compile_rules()
erjo@511 18 {
erjo@511 19 cd $src
pascal@1530 20 sed -i 's| GtkTooltips| struct _GtkTooltips|' gperiodic.h
erjo@511 21 make
erjo@511 22 }
erjo@511 23
erjo@511 24 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@511 25 genpkg_rules()
erjo@511 26 {
erjo@511 27 mkdir -p $fs/usr/bin $fs/usr/share/applications \
erjo@511 28 $fs/usr/share/pixmaps $fs/usr/share/locale/fr/LC_MESSAGES
erjo@511 29
erjo@511 30 cp -a $src/gperiodic $fs/usr/bin
erjo@511 31 cp -a $src/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/gperiodic.mo
erjo@511 32 cp -a $src/gperiodic.desktop $fs/usr/share/applications
erjo@511 33 cp -a $src/gperiodic.png $fs/usr/share/pixmaps
erjo@511 34 }
erjo@511 35