wok-next view chemtool/receipt @ rev 420
remove JWM_MENU
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 13 10:38:19 2008 +0000 (2008-03-13) |
parents | e4712a15e9ca |
children | adb3557a25a4 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/"
11 WGET_URL="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr $CONFIGURE_ARGS
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 # Needed directories.
26 mkdir -p $fs/usr/share/locale $fs/usr/share/pixmaps \
27 $fs/usr/share/examples/chemtool
29 # Binary file.
30 cp -a $_pkg/usr/bin $fs/usr
31 strip -s $fs/usr/bin/*
33 # French locale and pixmap.
34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
35 cp -a $src/chemtool.xpm $fs/usr/share/pixmaps
37 # Examples.
38 cp -a $src/examples/a*.cht $fs/usr/share/examples/chemtool
39 cp -a $src/examples/c*.cht $fs/usr/share/examples/chemtool
40 cp -a $src/examples/p*.cht $fs/usr/share/examples/chemtool
41 cp -a $src/examples/t*.cht $fs/usr/share/examples/chemtool
42 }