Some updates for r3

git-svn-id: file:///var/svn/lua-iconv/trunk@33 9538949d-8f27-0410-946f-ce01ef448559
This commit is contained in:
Alexandre Erwin Ittner 2007-02-08 00:49:58 +00:00
parent 48ca55c30f
commit 2d5eba1ba5
5 changed files with 19 additions and 16 deletions

17
README
View File

@ -1,19 +1,19 @@
Lua-iconv: performs character set conversions in Lua Lua-iconv: performs character set conversions in Lua
(c) 2005-06 Alexandre Erwin Ittner <aittner@netuno.com.br> (c) 2005-07 Alexandre Erwin Ittner <aittner@netuno.com.br>
Project page: http://lua-iconv.luaforge.net/ Project page: http://lua-iconv.luaforge.net/
=== INTRODUCTION === === INTRODUCTION ===
Lua-iconv is a Lua binding to the POSIX 'iconv' library. The iconv Lua-iconv is POSIX 'iconv' binding for the Lua Programming Language. The
library converts a sequence of characters from one codeset into a iconv library converts a sequence of characters from one codeset into a
sequence of corresponding characters in another codeset. The codesets sequence of corresponding characters in another codeset. The codesets
are those specified in the iconv.new() call that returned the conversion are those specified in the iconv.new() call that returned the conversion
descriptor, cd. descriptor, cd.
Lua-iconv r2 *requires* Lua 5.1. If you are using Lua 5.0, please use the Lua-iconv r3 *requires* Lua 5.1. If you are using Lua 5.0, please use the
previous version (lua-iconv-r1). first release (lua-iconv-r1).
Details regarding iconv may be obtained from: Details regarding iconv may be obtained from:
http://www.opengroup.org/onlinepubs/007908799/xsh/iconv.h.html http://www.opengroup.org/onlinepubs/007908799/xsh/iconv.h.html
@ -22,7 +22,7 @@ http://www.opengroup.org/onlinepubs/007908799/xsh/iconv.h.html
=== LICENSE === === LICENSE ===
Lua-iconv is (c) 2005-06 Alexandre Erwin Ittner <aittner@netuno.com.br> Lua-iconv is (c) 2005-07 Alexandre Erwin Ittner <aittner@netuno.com.br>
Lua-iconv is copyrighted free software: it can be used for both academic Lua-iconv is copyrighted free software: it can be used for both academic
and commercial purposes at absolutely no cost. There are no royalties and commercial purposes at absolutely no cost. There are no royalties
@ -122,3 +122,6 @@ nstr, err = cd:iconv(str)
iconv.ERROR_UNKNOWN iconv.ERROR_UNKNOWN
There was an unknown error. There was an unknown error.
=== EOF ===

4
debian/changelog vendored
View File

@ -1,6 +1,6 @@
lua-iconv (3r3-1) unstable; urgency=low lua-iconv (0.r3-1) unstable; urgency=low
* Initial release Closes: #nnnn (nnnn is the bug number of your ITP) * First release in .deb format.
-- Alexandre Erwin Ittner <aittner@netuno.com.br> Wed, 3 Feb 2007 00:20:09 -0200 -- Alexandre Erwin Ittner <aittner@netuno.com.br> Wed, 3 Feb 2007 00:20:09 -0200

6
debian/control vendored
View File

@ -10,6 +10,6 @@ Architecture: any
Depends: ${shlibs:Depends} Depends: ${shlibs:Depends}
Recommends: lua5.1 Recommends: lua5.1
Description: iconv bindings for the Lua Programming Language Description: iconv bindings for the Lua Programming Language
Lua-iconv is a Lua binding to the POSIX 'iconv' library, that converts a Lua-iconv is POSIX 'iconv' binding for the Lua Programming Language. It
sequence of characters from one codeset into a sequence of corresponding converts a sequence of characters from one codeset into a sequence of
characters in another codeset. corresponding characters in another codeset.

4
debian/rules vendored
View File

@ -8,7 +8,7 @@
#export DH_VERBOSE=1 #export DH_VERBOSE=1
# This is the debhelper compatability version to use. # This is the debhelper compatability version to use.
export DH_COMPAT=3 export DH_COMPAT=4
LUAPKG=lua5.1 LUAPKG=lua5.1
INSTALL_PATH=`pkg-config $(LUAPKG) --variable=INSTALL_CMOD` INSTALL_PATH=`pkg-config $(LUAPKG) --variable=INSTALL_CMOD`
@ -42,7 +42,7 @@ install: build
dh_installdirs dh_installdirs
mkdir -p debian/lua-iconv/usr/share/doc/lua-iconv mkdir -p debian/lua-iconv/usr/share/doc/lua-iconv
mkdir -p debian/lua-iconvs/$(INSTALL_PATH) mkdir -p debian/lua-iconv/$(INSTALL_PATH)
cp iconv.so debian/lua-iconv/$(INSTALL_PATH) cp iconv.so debian/lua-iconv/$(INSTALL_PATH)
cp README COPYING test_iconv.lua debian/lua-iconv/usr/share/doc/lua-iconv/ cp README COPYING test_iconv.lua debian/lua-iconv/usr/share/doc/lua-iconv/

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
PACKAGE=lua-iconv PACKAGE=lua-iconv
VERSION=r2 VERSION=r3
DIRNAME=$PACKAGE-$VERSION DIRNAME=$PACKAGE-$VERSION
TGZNAME=$DIRNAME.tar.gz TGZNAME=$DIRNAME.tar.gz
@ -9,7 +9,7 @@ TGZNAME=$DIRNAME.tar.gz
rm -f $TGZNAME rm -f $TGZNAME
mkdir $DIRNAME mkdir $DIRNAME
cp COPYING Makefile README luaiconv.c test_iconv.lua $DIRNAME cp -r debian COPYING Makefile README luaiconv.c test_iconv.lua $DIRNAME
tar -czf $TGZNAME $DIRNAME tar -czf $TGZNAME $DIRNAME
rm -rf $DIRNAME rm -rf $DIRNAME