wok-next view chemtool/receipt @ rev 21566

updated cpio (2.12 -> 2.13)
author Hans-G?nter Theisgen
date Mon Jun 22 16:02:42 2020 +0100 (2020-06-22)
parents 5669e8b3be70
children
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 libcairo fontconfig freetype gdk-pixbuf glib gtk2 pango \
37 libx11 shared-mime-info"
38 TAGS="chemistry"
39 }