wok-current view chemtool/receipt @ rev 1815

Up: gparted to 0.4.1, fix BUILD_DEPENDS and disable doc build.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Dec 05 15:04:32 2008 +0100 (2008-12-05)
parents 78beccae5ad2
children 2407153fdf77
line source
1 # SliTaz package receipt.
3 PACKAGE="chemtool"
4 VERSION="1.6.11"
5 CATEGORY="graphics"
6 SHORT_DESC="Small program for drawing chemical structures."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+"
9 BUILD_DEPENDS="gtk+-dev xorg-xproto"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/"
12 WGET_URL="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 # Needed directories.
27 mkdir -p $fs/usr/share/locale $fs/usr/share/pixmaps \
28 $fs/usr/share/examples/chemtool $fs/usr/share/applications
30 # Binary file.
31 cp -a $_pkg/usr/bin $fs/usr
32 strip -s $fs/usr/bin/*
34 # French locale, pixmap and menu.
35 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
36 cp -a $src/gnome/chemtool.png $fs/usr/share/pixmaps
37 cp -a stuff/chemtool.desktop $fs/usr/share/applications
39 # Examples.
40 cp -a $src/examples/a*.cht $fs/usr/share/examples/chemtool
41 cp -a $src/examples/c*.cht $fs/usr/share/examples/chemtool
42 cp -a $src/examples/p*.cht $fs/usr/share/examples/chemtool
43 cp -a $src/examples/t*.cht $fs/usr/share/examples/chemtool
44 }