wok rev 1160
Add: odt2txt
author | Michael Dupont <milka@konstelacioj.info> |
---|---|
date | Sun Jul 27 23:53:17 2008 +0200 (2008-07-27) |
parents | ff8a1f3e8408 |
children | 97a2a9038ef9 |
files | odt2txt/description.txt odt2txt/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/odt2txt/description.txt Sun Jul 27 23:53:17 2008 +0200 1.3 @@ -0,0 +1,13 @@ 1.4 +odt2txt is a command-line tool which extracts the text out of OpenDocument Texts produced by OpenOffice.org, StarOffice, KOffice and others. 1.5 + 1.6 +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). 1.7 + 1.8 +odt2txt is ... 1.9 + 1.10 + * small 1.11 + * supports multiple output encodings 1.12 + * adopts to your locale 1.13 + * able to substitute common characters which the output charset does not contain with ascii look-a-likes 1.14 + * written in C, has few dependencies 1.15 + * portable (runs on Linux, *BSD, Solaris, HP-UX, Windows, Cygwin) 1.16 + * licensed under GPL, version 2 1.17 \ No newline at end of file
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/odt2txt/receipt Sun Jul 27 23:53:17 2008 +0200 2.3 @@ -0,0 +1,30 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="odt2txt" 2.7 +VERSION="0.4" 2.8 +CATEGORY="utilities" 2.9 +SHORT_DESC="A simple converter from OpenDocument Text to plain text" 2.10 +MAINTAINER="milka@konstelacioj.info" 2.11 +#DEPENDS="" 2.12 +BUILD_DEPENDS="zlib-dev" 2.13 +#SUGGESTED="odfread" 2.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.15 +WEB_SITE="http://www.stosberg.net/odt2txt/" 2.16 +WGET_URL="http://www.stosberg.net/$PACKAGE/$TARBALL" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + cd $src 2.22 + make 2.23 + mkdir -p $PWD/_pkg/usr/bin 2.24 + mv $PACKAGE $PWD/_pkg/usr/bin/ 2.25 +} 2.26 + 2.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.28 +genpkg_rules() 2.29 +{ 2.30 + mkdir -p $fs/usr/bin 2.31 + cp -a $_pkg/usr/bin $fs/usr 2.32 + strip -s $fs/usr/bin/* 2.33 +} 2.34 \ No newline at end of file