# HG changeset patch # User Michael Dupont # Date 1217195597 -7200 # Node ID d782623121817d394a6d4faa01f4b06ee9a39f72 # Parent ff8a1f3e840896dcc74739e0065e880718d8b210 Add: odt2txt diff -r ff8a1f3e8408 -r d78262312181 odt2txt/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/odt2txt/description.txt Sun Jul 27 23:53:17 2008 +0200 @@ -0,0 +1,13 @@ +odt2txt is a command-line tool which extracts the text out of OpenDocument Texts produced by OpenOffice.org, StarOffice, KOffice and others. + +odt2txt can also extract text from some file formats similar to OpenDocument Text, such as OpenOffice.org XML (*.sxw), which was used by OpenOffice.org version 1.x and older StarOffice versions. To a lesser extent, odt2txt may be useful to extract content from OpenDocument spreadsheets (*.ods) and OpenDocument presentations (*.odp). + +odt2txt is ... + + * small + * supports multiple output encodings + * adopts to your locale + * able to substitute common characters which the output charset does not contain with ascii look-a-likes + * written in C, has few dependencies + * portable (runs on Linux, *BSD, Solaris, HP-UX, Windows, Cygwin) + * licensed under GPL, version 2 \ No newline at end of file diff -r ff8a1f3e8408 -r d78262312181 odt2txt/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/odt2txt/receipt Sun Jul 27 23:53:17 2008 +0200 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="odt2txt" +VERSION="0.4" +CATEGORY="utilities" +SHORT_DESC="A simple converter from OpenDocument Text to plain text" +MAINTAINER="milka@konstelacioj.info" +#DEPENDS="" +BUILD_DEPENDS="zlib-dev" +#SUGGESTED="odfread" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.stosberg.net/odt2txt/" +WGET_URL="http://www.stosberg.net/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make + mkdir -p $PWD/_pkg/usr/bin + mv $PACKAGE $PWD/_pkg/usr/bin/ +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $_pkg/usr/bin $fs/usr + strip -s $fs/usr/bin/* +} \ No newline at end of file