# HG changeset patch # User "Eric Joseph-Alewandre " # Date 1207527011 -7200 # Node ID adb3557a25a43e51e85bcf7409fdd296e3b29b04 # Parent 5668dede4b9e8f3431800ece41725248af9e6484 Add: newt, Gperiodic. Typos in chemtool diff -r 5668dede4b9e -r adb3557a25a4 chemtool/receipt --- a/chemtool/receipt Sun Apr 06 01:38:29 2008 +0200 +++ b/chemtool/receipt Mon Apr 07 02:10:11 2008 +0200 @@ -24,15 +24,16 @@ { # Needed directories. mkdir -p $fs/usr/share/locale $fs/usr/share/pixmaps \ - $fs/usr/share/examples/chemtool + $fs/usr/share/examples/chemtool $fs/usr/share/applications # Binary file. cp -a $_pkg/usr/bin $fs/usr strip -s $fs/usr/bin/* - # French locale and pixmap. + # French locale, pixmap and menu. cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale - cp -a $src/chemtool.xpm $fs/usr/share/pixmaps + cp -a $src/gnome/chemtool.png $fs/usr/share/pixmaps + cp -a $src/gnome/chemtool.desktop $fs/usr/share/applications # Examples. cp -a $src/examples/a*.cht $fs/usr/share/examples/chemtool diff -r 5668dede4b9e -r adb3557a25a4 gperiodic/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gperiodic/receipt Mon Apr 07 02:10:11 2008 +0200 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="gperiodic" +VERSION="2.0.10" +CATEGORY="extras" +SHORT_DESC="A periodic table element" +MAINTAINER="Erjo " +DEPENDS="gtk+" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.frantz.fi/software/gperiodic.php" +WGET_URL="http://www.frantz.fi/software/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin $fs/usr/share/applications \ + $fs/usr/share/pixmaps $fs/usr/share/locale/fr/LC_MESSAGES + + cp -a $src/gperiodic $fs/usr/bin + cp -a $src/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/gperiodic.mo + cp -a $src/gperiodic.desktop $fs/usr/share/applications + cp -a $src/gperiodic.png $fs/usr/share/pixmaps + strip -s $fs/usr/bin/* +} + diff -r 5668dede4b9e -r adb3557a25a4 newt/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/newt/receipt Mon Apr 07 02:10:11 2008 +0200 @@ -0,0 +1,41 @@ +# SliTaz package receipt. + +PACKAGE="newt" +VERSION="0.52.2" +CATEGORY="development" +SHORT_DESC="Not Erik's Windowing Toolkit" +MAINTAINER="Erjo " +DEPENDS="slang" +BUILD_DEPENDS="slang-dev tcl-dev popt-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://packages.debian.org/etch/libnewt0.52" +WGET_URL="http://mirror.pimentvert.com/sources/newt/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + + # Fixe group/owner + chown -R root.root $src + + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS + make + make instroot=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + cp -a $_pkg/usr/lib/python* $fs/usr/lib + + # Bug fix + cd $fs/usr/lib + ln -s libnewt.so.0.52.1 libnewt.so.0.52 + strip -s $fs/usr/bin/* +} +