wok-next view chemtool/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | d5aab818505e |
children | 82b613cfd1e0 |
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 libx11-dev 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 libx11 shared-mime-info"
38 TAGS="chemistry"
39 }