wok annotate chemtool/receipt @ rev 13898

vlc: add subtitles support (thanks tkoun)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 19 15:13:25 2013 +0100 (2013-01-19)
parents 4f527a2114bf
children 00c51b3a010b
rev   line source
pankso@46 1 # SliTaz package receipt.
pankso@46 2
pankso@46 3 PACKAGE="chemtool"
slaxemulator@6582 4 VERSION="1.6.12"
pankso@207 5 CATEGORY="graphics"
pankso@46 6 SHORT_DESC="Small program for drawing chemical structures."
pankso@46 7 MAINTAINER="pankso@slitaz.org"
pascal@2513 8 DEPENDS="gtk+ xorg-libXdamage"
pascal@1460 9 BUILD_DEPENDS="gtk+-dev xorg-xproto"
pankso@46 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@46 11 WEB_SITE="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/"
pankso@46 12 WGET_URL="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/$TARBALL"
jozee@4933 13 TAGS="chemistry"
pankso@46 14
pankso@46 15 # Rules to configure and make the package.
pankso@46 16 compile_rules()
pankso@46 17 {
pascal@13829 18 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
pankso@46 19 cd $src
pascal@1460 20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@1460 21 make &&
pascal@13829 22 make DESTDIR=$DESTDIR install
pankso@46 23 }
pankso@46 24
pankso@46 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@46 26 genpkg_rules()
pankso@46 27 {
pankso@46 28 # Needed directories.
pankso@46 29 mkdir -p $fs/usr/share/locale $fs/usr/share/pixmaps \
samuel_trassare@12062 30 $fs/usr/share/examples/chemtool
pankso@46 31
pankso@46 32 # Binary file.
pascal@13829 33 cp -a $install/usr/bin $fs/usr
pankso@46 34
erjo@511 35 # French locale, pixmap and menu.
pascal@13829 36 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
erjo@511 37 cp -a $src/gnome/chemtool.png $fs/usr/share/pixmaps
pankso@46 38
pankso@46 39 # Examples.
pankso@46 40 cp -a $src/examples/a*.cht $fs/usr/share/examples/chemtool
pankso@46 41 cp -a $src/examples/c*.cht $fs/usr/share/examples/chemtool
pankso@46 42 cp -a $src/examples/p*.cht $fs/usr/share/examples/chemtool
pankso@46 43 cp -a $src/examples/t*.cht $fs/usr/share/examples/chemtool
pankso@46 44 }