wok rev 7032

Add: aiksaurus (1.2.1)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Oct 31 23:24:00 2010 +0100 (2010-10-31)
parents c1cd96feca64
children f946583d9bb9
files aiksaurus-dev/receipt aiksaurus/receipt aiksaurus/stuff/aiksaurus-gcc44.patch
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/aiksaurus-dev/receipt	Sun Oct 31 23:24:00 2010 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="aiksaurus-dev"
     1.7 +VERSION="1.2.1"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="A cross-platform, open-source thesaurus devel files."
    1.10 +MAINTAINER="gokhlayeh@slitaz.org"
    1.11 +WANTED="aiksaurus"
    1.12 +WEB_SITE="http://aiksaurus.sourceforge.net/"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/lib
    1.18 +	cp -a $_pkg/usr/lib/*.*a $fs/usr
    1.19 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.20 +	cp -a $_pkg/usr/include $fs/usr
    1.21 +}
    1.22 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/aiksaurus/receipt	Sun Oct 31 23:24:00 2010 +0100
     2.3 @@ -0,0 +1,35 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="aiksaurus"
     2.7 +VERSION="1.2.1"
     2.8 +CATEGORY="system-tools"
     2.9 +SHORT_DESC="A cross-platform, open-source thesaurus."
    2.10 +MAINTAINER="gokhlayeh@slitaz.org"
    2.11 +DEPENDS="gtk+ expat xorg-libXau glib"
    2.12 +BUILD_DEPENDS="gtk+-dev patch expat-dev xorg-libXau-dev glib-dev"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 +WEB_SITE="http://aiksaurus.sourceforge.net/"
    2.15 +WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$TARBALL"
    2.16 +
    2.17 +# Rules to configure and make the package.
    2.18 +compile_rules()
    2.19 +{
    2.20 +	cd $src
    2.21 +	patch -Np0 -i ../stuff/aiksaurus-gcc44.patch
    2.22 +	./configure \
    2.23 +		--prefix=/usr \
    2.24 +		--infodir=/usr/share/info \
    2.25 +		--mandir=/usr/share/man \
    2.26 +		 --with-gtk \
    2.27 +		$CONFIGURE_ARGS &&
    2.28 +	make -j 4 && make DESTDIR=$PWD/_pkg install
    2.29 +}
    2.30 +
    2.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.32 +genpkg_rules()
    2.33 +{
    2.34 +	mkdir -p $fs/usr/lib
    2.35 +	cp -a $_pkg/usr/bin $_pkg/usr/share $fs/usr
    2.36 +	cp -a $_pkg/usr/lib/*.so* $fs/usr
    2.37 +}
    2.38 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/aiksaurus/stuff/aiksaurus-gcc44.patch	Sun Oct 31 23:24:00 2010 +0100
     3.3 @@ -0,0 +1,31 @@
     3.4 +--- base/aiksaurus.t.cpp~	2003-06-26 21:44:38.000000000 -0400
     3.5 ++++ base/aiksaurus.t.cpp	2009-05-31 20:02:29.172988678 -0400
     3.6 +@@ -22,6 +22,7 @@
     3.7 + #include "Aiksaurus.h"
     3.8 + #include "AsciiCompare.h"
     3.9 + #include "config.h"
    3.10 ++#include <cstdlib>
    3.11 + #include <iostream>
    3.12 + #include <string>
    3.13 + using namespace std;
    3.14 +
    3.15 +--- ./gtk/src/Display.cpp~	2003-05-27 19:56:54.000000000 -0400
    3.16 ++++ ./gtk/src/Display.cpp	2009-06-02 18:09:36.198627551 -0400
    3.17 +@@ -22,6 +22,7 @@
    3.18 + #include "Meaning.h"
    3.19 + #include "DialogMediator.h"
    3.20 + #include "Exception.h"
    3.21 ++#include <cstring>
    3.22 + using namespace std;
    3.23 + 
    3.24 + namespace AiksaurusGTK_impl
    3.25 +--- ./gtk/src/gtkAiksaur.t.cpp~	2002-01-11 21:02:12.000000000 -0500
    3.26 ++++ ./gtk/src/gtkAiksaur.t.cpp	2009-06-02 18:12:06.815277325 -0400
    3.27 +@@ -21,6 +21,7 @@
    3.28 + #include <AiksaurusGTK.h>
    3.29 + #include "config.h"
    3.30 + #include <gtk/gtk.h>
    3.31 ++#include <cstdlib>
    3.32 + #include <iostream>
    3.33 + #include <string>
    3.34 + using namespace std;