wok view chemtool/receipt @ rev 14664

ecore-dev: Up to 1.7.7
author Dominique Corbex <domcox@slitaz.org>
date Thu Jun 06 22:08:04 2013 +0200 (2013-06-06)
parents 4f527a2114bf
children 00c51b3a010b
line source
1 # SliTaz package receipt.
3 PACKAGE="chemtool"
4 VERSION="1.6.12"
5 CATEGORY="graphics"
6 SHORT_DESC="Small program for drawing chemical structures."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ xorg-libXdamage"
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"
13 TAGS="chemistry"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
19 cd $src
20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 # Needed directories.
29 mkdir -p $fs/usr/share/locale $fs/usr/share/pixmaps \
30 $fs/usr/share/examples/chemtool
32 # Binary file.
33 cp -a $install/usr/bin $fs/usr
35 # French locale, pixmap and menu.
36 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
37 cp -a $src/gnome/chemtool.png $fs/usr/share/pixmaps
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 }