wok-current view chemtool/receipt @ rev 119
Fixed lighttpd permissions (/etc + /var/www)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jan 05 21:54:43 2008 +0100 (2008-01-05) |
parents | |
children | 4959e5789caa |
line source
1 # SliTaz package receipt.
3 PACKAGE="chemtool"
4 VERSION="1.6.11"
5 CATEGORY="extra"
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 }