wok-6.x annotate chemtool/receipt @ rev 23925
Add Connect-Four
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 23 10:18:23 2020 +0000 (2020-08-23) |
parents | 17e313b5b9c1 |
children | ad8b9ff412d2 |
rev | line source |
---|---|
pankso@46 | 1 # SliTaz package receipt. |
pankso@46 | 2 |
pankso@46 | 3 PACKAGE="chemtool" |
Hans-G?nter@20783 | 4 VERSION="1.6.14" |
pankso@207 | 5 CATEGORY="graphics" |
Hans-G?nter@20783 | 6 TAGS="chemistry" |
pankso@46 | 7 SHORT_DESC="Small program for drawing chemical structures." |
pankso@46 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
al@14793 | 10 WEB_SITE="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/" |
Hans-G?nter@20783 | 11 |
al@14793 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@14793 | 13 WGET_URL="$WEB_SITE$TARBALL" |
al@14793 | 14 |
pascal@2513 | 15 DEPENDS="gtk+ xorg-libXdamage" |
pascal@1460 | 16 BUILD_DEPENDS="gtk+-dev xorg-xproto" |
pankso@46 | 17 |
pankso@46 | 18 # Rules to configure and make the package. |
pankso@46 | 19 compile_rules() |
pankso@46 | 20 { |
pascal@17670 | 21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" |
Hans-G?nter@20783 | 22 ./configure \ |
Hans-G?nter@20783 | 23 --prefix=/usr \ |
Hans-G?nter@20783 | 24 $CONFIGURE_ARGS && |
pascal@1460 | 25 make && |
pascal@13829 | 26 make DESTDIR=$DESTDIR install |
pankso@46 | 27 } |
pankso@46 | 28 |
pankso@46 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@46 | 30 genpkg_rules() |
pankso@46 | 31 { |
pankso@46 | 32 # Needed directories. |
pankso@46 | 33 mkdir -p $fs/usr/share/locale $fs/usr/share/pixmaps \ |
samuel_trassare@12062 | 34 $fs/usr/share/examples/chemtool |
pankso@46 | 35 |
pankso@46 | 36 # Binary file. |
pascal@13829 | 37 cp -a $install/usr/bin $fs/usr |
pankso@46 | 38 |
erjo@511 | 39 # French locale, pixmap and menu. |
pascal@13829 | 40 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
erjo@511 | 41 cp -a $src/gnome/chemtool.png $fs/usr/share/pixmaps |
pankso@46 | 42 |
pankso@46 | 43 # Examples. |
pankso@46 | 44 cp -a $src/examples/a*.cht $fs/usr/share/examples/chemtool |
pankso@46 | 45 cp -a $src/examples/c*.cht $fs/usr/share/examples/chemtool |
pankso@46 | 46 cp -a $src/examples/p*.cht $fs/usr/share/examples/chemtool |
pankso@46 | 47 cp -a $src/examples/t*.cht $fs/usr/share/examples/chemtool |
al@14793 | 48 |
al@14793 | 49 chown -R root:root $fs |
pankso@46 | 50 } |