wok-current view chemtool/receipt @ rev 24360

ardour: give gcc83 a try
author Hans-G?nter Theisgen
date Fri Feb 04 07:19:07 2022 +0100 (2022-02-04)
parents 17e313b5b9c1
children ad8b9ff412d2
line source
1 # SliTaz package receipt.
3 PACKAGE="chemtool"
4 VERSION="1.6.14"
5 CATEGORY="graphics"
6 TAGS="chemistry"
7 SHORT_DESC="Small program for drawing chemical structures."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE$TARBALL"
15 DEPENDS="gtk+ xorg-libXdamage"
16 BUILD_DEPENDS="gtk+-dev xorg-xproto"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
22 ./configure \
23 --prefix=/usr \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 # Needed directories.
33 mkdir -p $fs/usr/share/locale $fs/usr/share/pixmaps \
34 $fs/usr/share/examples/chemtool
36 # Binary file.
37 cp -a $install/usr/bin $fs/usr
39 # French locale, pixmap and menu.
40 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
41 cp -a $src/gnome/chemtool.png $fs/usr/share/pixmaps
43 # Examples.
44 cp -a $src/examples/a*.cht $fs/usr/share/examples/chemtool
45 cp -a $src/examples/c*.cht $fs/usr/share/examples/chemtool
46 cp -a $src/examples/p*.cht $fs/usr/share/examples/chemtool
47 cp -a $src/examples/t*.cht $fs/usr/share/examples/chemtool
49 chown -R root:root $fs
50 }