# HG changeset patch # User Antoine Bodin # Date 1288563840 -3600 # Node ID 79077110c5c7f158b90c89fdfacccd8ec23a089d # Parent c1cd96feca64660ea3e78096aa9780e4857286d7 Add: aiksaurus (1.2.1) diff -r c1cd96feca64 -r 79077110c5c7 aiksaurus-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/aiksaurus-dev/receipt Sun Oct 31 23:24:00 2010 +0100 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="aiksaurus-dev" +VERSION="1.2.1" +CATEGORY="system-tools" +SHORT_DESC="A cross-platform, open-source thesaurus devel files." +MAINTAINER="gokhlayeh@slitaz.org" +WANTED="aiksaurus" +WEB_SITE="http://aiksaurus.sourceforge.net/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr +} + diff -r c1cd96feca64 -r 79077110c5c7 aiksaurus/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/aiksaurus/receipt Sun Oct 31 23:24:00 2010 +0100 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="aiksaurus" +VERSION="1.2.1" +CATEGORY="system-tools" +SHORT_DESC="A cross-platform, open-source thesaurus." +MAINTAINER="gokhlayeh@slitaz.org" +DEPENDS="gtk+ expat xorg-libXau glib" +BUILD_DEPENDS="gtk+-dev patch expat-dev xorg-libXau-dev glib-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://aiksaurus.sourceforge.net/" +WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + patch -Np0 -i ../stuff/aiksaurus-gcc44.patch + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --with-gtk \ + $CONFIGURE_ARGS && + make -j 4 && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/bin $_pkg/usr/share $fs/usr + cp -a $_pkg/usr/lib/*.so* $fs/usr +} + diff -r c1cd96feca64 -r 79077110c5c7 aiksaurus/stuff/aiksaurus-gcc44.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/aiksaurus/stuff/aiksaurus-gcc44.patch Sun Oct 31 23:24:00 2010 +0100 @@ -0,0 +1,31 @@ +--- base/aiksaurus.t.cpp~ 2003-06-26 21:44:38.000000000 -0400 ++++ base/aiksaurus.t.cpp 2009-05-31 20:02:29.172988678 -0400 +@@ -22,6 +22,7 @@ + #include "Aiksaurus.h" + #include "AsciiCompare.h" + #include "config.h" ++#include + #include + #include + using namespace std; + +--- ./gtk/src/Display.cpp~ 2003-05-27 19:56:54.000000000 -0400 ++++ ./gtk/src/Display.cpp 2009-06-02 18:09:36.198627551 -0400 +@@ -22,6 +22,7 @@ + #include "Meaning.h" + #include "DialogMediator.h" + #include "Exception.h" ++#include + using namespace std; + + namespace AiksaurusGTK_impl +--- ./gtk/src/gtkAiksaur.t.cpp~ 2002-01-11 21:02:12.000000000 -0500 ++++ ./gtk/src/gtkAiksaur.t.cpp 2009-06-02 18:12:06.815277325 -0400 +@@ -21,6 +21,7 @@ + #include + #include "config.h" + #include ++#include + #include + #include + using namespace std;