mirror of
https://github.com/lunarmodules/lua-iconv.git
synced 2025-06-22 20:24:36 +02:00
Changes to fix Debian packaging.
git-svn-id: file:///var/svn/lua-iconv/trunk@39 9538949d-8f27-0410-946f-ce01ef448559
This commit is contained in:
parent
b5b90d436c
commit
4909aa5f80
12
Makefile
12
Makefile
@ -40,18 +40,20 @@ LIBS = `pkg-config $(LUAPKG) --libs`
|
||||
#LIBS = -llua5.1
|
||||
#INSTALL_PATH = /usr/lib/lua/5.1
|
||||
|
||||
all: iconv.so
|
||||
|
||||
iconv.so: luaiconv.c
|
||||
$(CC) -o iconv.so -shared $(LIBS) $(CFLAGS) luaiconv.c
|
||||
iconv.lo: luaiconv.c
|
||||
$(CC) -o iconv.lo -c $(CFLAGS) luaiconv.c
|
||||
|
||||
iconv.so: iconv.lo
|
||||
$(CC) -o iconv.so -shared $(LIBS) iconv.lo
|
||||
|
||||
install: iconv.so
|
||||
make test
|
||||
install -s iconv.so $(INSTALL_PATH)
|
||||
|
||||
clean:
|
||||
$(RM) iconv.so
|
||||
$(RM) iconv.so iconv.lo
|
||||
|
||||
test: iconv.so test_iconv.lua
|
||||
lua test_iconv.lua
|
||||
|
||||
all: iconv.so
|
||||
|
2
debian/Makefile.Debian.conf
vendored
2
debian/Makefile.Debian.conf
vendored
@ -3,7 +3,7 @@ PKG_NAME=iconv
|
||||
### things relative to the C library part
|
||||
CLIB_CFLAGS=
|
||||
CLIB_LDFLAGS=
|
||||
CLIB_OBJS= iconv.lo
|
||||
CLIB_OBJS=iconv.lo
|
||||
VERSION_INFO=0:0:0
|
||||
|
||||
### things relative to the lua library part
|
||||
|
2
debian/control
vendored
2
debian/control
vendored
@ -2,7 +2,7 @@ Source: lua-iconv
|
||||
Section: interpreters
|
||||
Priority: optional
|
||||
Maintainer: Alexandre Erwin Ittner <aittner@netuno.com.br>
|
||||
Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), dpatch, lua5.1-policy-dev (>= 6)
|
||||
Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), dpatch, lua5.1-policy-dev (>= 8)
|
||||
Standards-Version: 3.7.2
|
||||
XS-X-Vcs-svn: svn://svn.debian.org/pkg-lua/packages/lua-iconv
|
||||
|
||||
|
@ -37,7 +37,7 @@
|
||||
#include <errno.h>
|
||||
|
||||
#define LIB_NAME "iconv"
|
||||
#define LIB_VERSION LIB_NAME " r3"
|
||||
#define LIB_VERSION LIB_NAME " r4"
|
||||
#define ICONV_TYPENAME "iconv_t"
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user