wok-stable annotate chemtool/receipt @ rev 2457
pango, parted, partimage, pciutils, pcmanfm, pcre-dev; perl*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 14 07:53:36 2009 +0000 (2009-03-14) |
parents | 78beccae5ad2 |
children | 2407153fdf77 |
rev | line source |
---|---|
pankso@46 | 1 # SliTaz package receipt. |
pankso@46 | 2 |
pankso@46 | 3 PACKAGE="chemtool" |
pankso@46 | 4 VERSION="1.6.11" |
pankso@207 | 5 CATEGORY="graphics" |
pankso@46 | 6 SHORT_DESC="Small program for drawing chemical structures." |
pankso@46 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@46 | 8 DEPENDS="gtk+" |
pascal@1460 | 9 BUILD_DEPENDS="gtk+-dev xorg-xproto" |
pankso@46 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@46 | 11 WEB_SITE="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/" |
pankso@46 | 12 WGET_URL="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/$TARBALL" |
pankso@46 | 13 |
pankso@46 | 14 # Rules to configure and make the package. |
pankso@46 | 15 compile_rules() |
pankso@46 | 16 { |
pankso@46 | 17 cd $src |
pascal@1460 | 18 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@1460 | 19 make && |
pankso@46 | 20 make DESTDIR=$PWD/_pkg install |
pankso@46 | 21 } |
pankso@46 | 22 |
pankso@46 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@46 | 24 genpkg_rules() |
pankso@46 | 25 { |
pankso@46 | 26 # Needed directories. |
pankso@46 | 27 mkdir -p $fs/usr/share/locale $fs/usr/share/pixmaps \ |
erjo@511 | 28 $fs/usr/share/examples/chemtool $fs/usr/share/applications |
pankso@46 | 29 |
pankso@46 | 30 # Binary file. |
pankso@46 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@46 | 32 strip -s $fs/usr/bin/* |
pankso@46 | 33 |
erjo@511 | 34 # French locale, pixmap and menu. |
pankso@46 | 35 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@511 | 36 cp -a $src/gnome/chemtool.png $fs/usr/share/pixmaps |
erjo@512 | 37 cp -a stuff/chemtool.desktop $fs/usr/share/applications |
pankso@46 | 38 |
pankso@46 | 39 # Examples. |
pankso@46 | 40 cp -a $src/examples/a*.cht $fs/usr/share/examples/chemtool |
pankso@46 | 41 cp -a $src/examples/c*.cht $fs/usr/share/examples/chemtool |
pankso@46 | 42 cp -a $src/examples/p*.cht $fs/usr/share/examples/chemtool |
pankso@46 | 43 cp -a $src/examples/t*.cht $fs/usr/share/examples/chemtool |
pankso@46 | 44 } |