wok annotate chemtool/receipt @ rev 46

Add : abiword, chemtool, emelfm2, epdfview
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 18 14:21:04 2007 +0100 (2007-12-18)
parents
children 4959e5789caa
rev   line source
pankso@46 1 # SliTaz package receipt.
pankso@46 2
pankso@46 3 PACKAGE="chemtool"
pankso@46 4 VERSION="1.6.11"
pankso@46 5 CATEGORY="extra"
pankso@46 6 SHORT_DESC="Small program for drawing chemical structures."
pankso@46 7 MAINTAINER="pankso@slitaz.org"
pankso@46 8 DEPENDS="gtk+"
pankso@46 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@46 10 WEB_SITE="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/"
pankso@46 11 WGET_URL="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/$TARBALL"
pankso@46 12
pankso@46 13 # Rules to configure and make the package.
pankso@46 14 compile_rules()
pankso@46 15 {
pankso@46 16 cd $src
pankso@46 17 ./configure --prefix=/usr $CONFIGURE_ARGS
pankso@46 18 make
pankso@46 19 make DESTDIR=$PWD/_pkg install
pankso@46 20 }
pankso@46 21
pankso@46 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@46 23 genpkg_rules()
pankso@46 24 {
pankso@46 25 # Needed directories.
pankso@46 26 mkdir -p $fs/usr/share/locale $fs/usr/share/pixmaps \
pankso@46 27 $fs/usr/share/examples/chemtool
pankso@46 28
pankso@46 29 # Binary file.
pankso@46 30 cp -a $_pkg/usr/bin $fs/usr
pankso@46 31 strip -s $fs/usr/bin/*
pankso@46 32
pankso@46 33 # French locale and pixmap.
pankso@46 34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@46 35 cp -a $src/chemtool.xpm $fs/usr/share/pixmaps
pankso@46 36
pankso@46 37 # Examples.
pankso@46 38 cp -a $src/examples/a*.cht $fs/usr/share/examples/chemtool
pankso@46 39 cp -a $src/examples/c*.cht $fs/usr/share/examples/chemtool
pankso@46 40 cp -a $src/examples/p*.cht $fs/usr/share/examples/chemtool
pankso@46 41 cp -a $src/examples/t*.cht $fs/usr/share/examples/chemtool
pankso@46 42 }