Changing versioning scheme to avoid problems with Debian packages

git-svn-id: file:///var/svn/lua-iconv/trunk@62 9538949d-8f27-0410-946f-ce01ef448559
This commit is contained in:
Alexandre Erwin Ittner 2009-08-03 21:43:21 +00:00
parent 8631b8453e
commit f250397346
4 changed files with 8 additions and 8 deletions

View File

@ -32,7 +32,7 @@ OMIT_FRAME_POINTER = -fomit-frame-pointer
# Name of .pc file. "lua5.1" on Debian/Ubuntu
LUAPKG = lua5.1
CFLAGS = `pkg-config $(LUAPKG) --cflags` -O3 -Wall
CFLAGS = `pkg-config $(LUAPKG) --cflags` -fPIC -O3 -Wall
LFLAGS = -shared $(OMIT_FRAME_POINTER)
INSTALL_PATH = `pkg-config $(LUAPKG) --variable=INSTALL_CMOD`
@ -40,7 +40,7 @@ INSTALL_PATH = `pkg-config $(LUAPKG) --variable=INSTALL_CMOD`
## uncomment and change the following ones according to your building
## enviroment.
#CFLAGS = -I/usr/include/lua5.1/ -O3 -Wall
#CFLAGS = -I/usr/include/lua5.1/ -fPIC -O3 -Wall
#LFLAGS = -shared $(OMIT_FRAME_POINTER)
#INSTALL_PATH = /usr/lib/lua/5.1

6
README
View File

@ -1,6 +1,6 @@
Lua-iconv: performs character set conversions in Lua
(c) 2005-08 Alexandre Erwin Ittner <aittner@gmail.com>
(c) 2005-09 Alexandre Erwin Ittner <aittner@gmail.com>
Project page: http://lua-iconv.luaforge.net/
@ -12,7 +12,7 @@ sequence of corresponding characters in another codeset. The codesets
are those specified in the iconv.new() call that returned the conversion
descriptor, cd.
Lua-iconv r5 *requires* Lua 5.1. If you are using Lua 5.0, please use the
Lua-iconv 5 *requires* Lua 5.1. If you are using Lua 5.0, please use the
first release (lua-iconv-r1).
Details regarding iconv may be obtained from:
@ -22,7 +22,7 @@ http://www.opengroup.org/onlinepubs/007908799/xsh/iconv.h.html
=== LICENSE ===
Lua-iconv is (c) 2005-08 Alexandre Erwin Ittner <aittner@gmail.com>
Lua-iconv is (c) 2005-09 Alexandre Erwin Ittner <aittner@gmail.com>
Lua-iconv is copyrighted free software: it can be used for both academic
and commercial purposes at absolutely no cost. There are no royalties

View File

@ -1,6 +1,6 @@
/*
* luaiconv - Performs character set conversions in Lua
* (c) 2005-08 Alexandre Erwin Ittner <aittner@gmail.com>
* (c) 2005-09 Alexandre Erwin Ittner <aittner@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
@ -37,7 +37,7 @@
#include <errno.h>
#define LIB_NAME "iconv"
#define LIB_VERSION LIB_NAME " r5"
#define LIB_VERSION LIB_NAME " 5"
#define ICONV_TYPENAME "iconv_t"

View File

@ -1,7 +1,7 @@
#!/bin/sh
PACKAGE=lua-iconv
VERSION=r5
VERSION=5
DIRNAME=$PACKAGE-$VERSION
TGZNAME=$DIRNAME.tar.gz