wok view chemtool/receipt @ rev 14980

Up: thunderbird-langpack-fr (17.0.8esr)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 22:21:06 2013 +0200 (2013-08-08)
parents 39acb734f263
children 380ffe05937a
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 WEB_SITE="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="$WEB_SITE$TARBALL"
11 TAGS="chemistry"
13 DEPENDS="gtk+ xorg-libXdamage"
14 BUILD_DEPENDS="gtk+-dev xorg-xproto"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
20 cd $src
21 ./configure --prefix=/usr $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 # Needed directories.
30 mkdir -p $fs/usr/share/locale $fs/usr/share/pixmaps \
31 $fs/usr/share/examples/chemtool
33 # Binary file.
34 cp -a $install/usr/bin $fs/usr
36 # French locale, pixmap and menu.
37 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
38 cp -a $src/gnome/chemtool.png $fs/usr/share/pixmaps
40 # Examples.
41 cp -a $src/examples/a*.cht $fs/usr/share/examples/chemtool
42 cp -a $src/examples/c*.cht $fs/usr/share/examples/chemtool
43 cp -a $src/examples/p*.cht $fs/usr/share/examples/chemtool
44 cp -a $src/examples/t*.cht $fs/usr/share/examples/chemtool
46 chown -R root:root $fs
47 }