wok-stable diff chemtool/receipt @ rev 104
Modified meta pkgs xorg + xorg-dev to cook/install Xorg
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jan 04 17:36:02 2008 +0100 (2008-01-04) |
parents | |
children | 4959e5789caa |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/chemtool/receipt Fri Jan 04 17:36:02 2008 +0100 1.3 @@ -0,0 +1,42 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="chemtool" 1.7 +VERSION="1.6.11" 1.8 +CATEGORY="extra" 1.9 +SHORT_DESC="Small program for drawing chemical structures." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="gtk+" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/" 1.14 +WGET_URL="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + ./configure --prefix=/usr $CONFIGURE_ARGS 1.21 + make 1.22 + make DESTDIR=$PWD/_pkg install 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + # Needed directories. 1.29 + mkdir -p $fs/usr/share/locale $fs/usr/share/pixmaps \ 1.30 + $fs/usr/share/examples/chemtool 1.31 + 1.32 + # Binary file. 1.33 + cp -a $_pkg/usr/bin $fs/usr 1.34 + strip -s $fs/usr/bin/* 1.35 + 1.36 + # French locale and pixmap. 1.37 + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 1.38 + cp -a $src/chemtool.xpm $fs/usr/share/pixmaps 1.39 + 1.40 + # Examples. 1.41 + cp -a $src/examples/a*.cht $fs/usr/share/examples/chemtool 1.42 + cp -a $src/examples/c*.cht $fs/usr/share/examples/chemtool 1.43 + cp -a $src/examples/p*.cht $fs/usr/share/examples/chemtool 1.44 + cp -a $src/examples/t*.cht $fs/usr/share/examples/chemtool 1.45 +}