Commit 6ed74af6 authored by Sophie Brun's avatar Sophie Brun

Drop build of lua-curses moved in its own source package

parent e43801e8
......@@ -2,7 +2,7 @@ Source: lua-posix
Section: interpreters
Priority: optional
Maintainer: Enrico Tassi <gareuselesinge@debian.org>
Build-Depends: debhelper (>= 9), dh-autoreconf, dh-lua (>= 24~), libncursesw5-dev, lua-bitop, lua-ldoc, lua-discount
Build-Depends: debhelper (>= 9), dh-autoreconf, dh-lua (>= 24~), lua-bitop, lua-ldoc, lua-discount
Standards-Version: 3.9.3
Vcs-Git: https://anonscm.debian.org/git/pkg-lua/lua-posix.git
Vcs-Browser: https://anonscm.debian.org/git/pkg-lua/lua-posix.git
......@@ -32,29 +32,3 @@ Description: posix development files for the Lua language
useful to create a statically linked binary (like a C application or a
standalone Lua interpreter).
Documentation is also shipped within this package.
Package: lua-curses
Architecture: any
Multi-Arch: same
Section: libdevel
Pre-Depends: ${misc:Pre-Depends}
Provides: ${lua:Provides}
Depends: ${shlibs:Depends}, ${misc:Depends}
XB-Lua-Versions: ${lua:Versions}
Description: curses library for the Lua language
This package contains the Lua curses library to create text mode user
interfaces.
Package: lua-curses-dev
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Section: libdevel
Provides: ${lua:Provides}
Depends: lua-curses (= ${binary:Version}), ${misc:Depends}
XB-Lua-Versions: ${lua:Versions}
Description: curses development files for the Lua language
This package contains the development files of the Lua curses library,
useful to create a statically linked binary (like a C application or a
standalone Lua interpreter).
Documentation is also shipped within this package.
curses.html
curses_c.html
### mandatory fields
PKG_NAME=curses
### things relative to the C library part
CLIB_CFLAGS= -I. -DHAVE_CONFIG_H $(shell pkg-config ncursesw --cflags) -I /usr/include/ncursesw/ -I ext/include/
CLIB_LDFLAGS=$(shell pkg-config ncursesw --libs)
CLIB_OBJS= ext/curses/curses.lo
VERSION_INFO=0:0:0
### things relative to the lua library part
LUA_HEADER=
LUA_SOURCES=lib/curses.lua
LUA_SOURCES_MANGLER=sed -e 's?^lib/??'
LUA_MODNAME=curses
LUA_MODNAME_CPART=curses_c
### this part is relative to pkg-config
PKG_VERSION=$(shell dpkg-parsechangelog|grep ^Ver|cut -d ' ' -f 2|cut -d '-' -f 1)
PKG_LIBS_PRIVATE=
PKG_URL=
PKG_REQUIRES=ncurses
PKG_CONFLICTS=
lua5.1.curses.dh-lua.conf
\ No newline at end of file
lua5.1.curses.dh-lua.conf
\ No newline at end of file
......@@ -5,21 +5,17 @@
override_dh_auto_configure:
./configure --prefix=/usr/ \
LUA=/usr/bin/lua5.1 LUA_INCLUDE=-I/usr/include/lua5.1/ \
CFLAGS="`pkg-config lua5.1 ncursesw --cflags`"
LUA=/usr/bin/lua5.1 LUA_INCLUDE=-I/usr/include/lua5.1/
dh_auto_configure
override_dh_auto_build:
dh_auto_build
ldoc ext/posix/
perl build-aux/make_lcurses_doc.pl
mv doc/curses_c.html .
mv doc/curses.html .
override_dh_auto_test:
touch dummy.la
dh_auto_test
override_dh_auto_clean:
rm -f dummy.la curses.html curses_c.html
rm -f dummy.la
dh_auto_clean
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment