wok-next view chemtool/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="chemtool"
4 VERSION="1.6.14"
5 CATEGORY="graphics"
6 SHORT_DESC="Drawing chemical structures"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE$TARBALL"
14 BUILD_DEPENDS="gettext-dev gtk2-dev xorg-libX11-dev xorg-libICE-dev"
16 compile_rules() {
17 ./configure \
18 --enable-stockgtk \
19 $CONFIGURE_ARGS &&
20 make &&
21 make install || return 1
23 # Desktop integration
24 install -Dm644 $stuff/chemtool.desktop $install/usr/share/applications/chemtool.desktop
25 install -Dm644 gnome/chemtool.png $install/usr/share/icons/hicolor/48x48/apps/chemtool.png
26 install -Dm644 gnome/gnome-application-chemtool.png $install/usr/share/icons/hicolor/48x48/mimetypes/application-x-chemtool.png
27 install -Dm644 $stuff/chemtool.xml $install/usr/share/mime/packages/chemtool.xml
29 # Examples
30 mkdir -p $install/usr/share/examples/chemtool/
31 cp examples/* $install/usr/share/examples/chemtool/
32 }
34 genpkg_rules() {
35 copy @std
36 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk2 pango \
37 xorg-libX11 shared-mime-info"
38 TAGS="chemistry"
39 }