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