--- lua-rds-parser-0.0.4.orig/app.c.conf +++ lua-rds-parser-0.0.4/app.c.conf @@ -0,0 +1,9 @@ +// $Id: app.c.conf.in 902 2008-03-22 13:32:17Z gareuselesinge $ +#include "lua-rds-parser.h" + +static void app_open(lua_State* L){ + lua_getglobal(L,"package"); + lua_getfield(L,-1,"preload"); + lua_pushcfunction(L,luaopen_rds_parser); + lua_setfield(L,-2,"rds.parser"); +} --- lua-rds-parser-0.0.4.orig/debian/liblua5.1-rds-parser0.install +++ lua-rds-parser-0.0.4/debian/liblua5.1-rds-parser0.install @@ -0,0 +1,2 @@ +/usr/lib/lua/5.1/rds/parser.so +/usr/lib/liblua5.1-rds-parser.so.* --- lua-rds-parser-0.0.4.orig/debian/compat +++ lua-rds-parser-0.0.4/debian/compat @@ -0,0 +1 @@ +5 --- lua-rds-parser-0.0.4.orig/debian/control +++ lua-rds-parser-0.0.4/debian/control @@ -0,0 +1,14 @@ +Source: lua-rds-parser +Section: interpreters +Priority: optional +Maintainer: Bearnard Hibbins +Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), lua5.1-policy-dev (>= 22) +Standards-Version: 3.8.2 +Homepage: http://agentzh.org +Vcs-Git: git://github.com/agentzh/lua-rds-parser.git +Vcs-Browser: https://github.com/agentzh/lua-rds-parser + +Package: liblua5.1-rds-parser0 +Architecture: any +Depends: ${shlibs:Depends} +Description: Resty-DBD-Stream (RDS) parser for Lua written in C --- lua-rds-parser-0.0.4.orig/debian/changelog +++ lua-rds-parser-0.0.4/debian/changelog @@ -0,0 +1,6 @@ +lua-rds-parser (0.0.4-2) lucid; urgency=low + + * Initial release. + + -- Bearnard Hibbins Thu, 10 Nov 2011 17:48:09 +0200 + --- lua-rds-parser-0.0.4.orig/debian/copyright +++ lua-rds-parser-0.0.4/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Bearnard Hibbins +Thu Nov 10 21:01:13 SAST 2011. + +It was downloaded from https://github.com/agentzh/lua-rds-parser + + +This module is licenced under the BSD license. + +Copyright (C) 2011, Zhang "agentzh" Yichun (章亦春) . + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + * Redistributionbutions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + --- lua-rds-parser-0.0.4.orig/debian/liblua5.1-rds-parser-dev.install +++ lua-rds-parser-0.0.4/debian/liblua5.1-rds-parser-dev.install @@ -0,0 +1,5 @@ +/usr/lib/liblua5.1-rds-parser.so +/usr/lib/liblua5.1-rds-parser.la +/usr/lib/liblua5.1-rds-parser.a +/usr/lib/pkgconfig/lua5.1-rds-parser.pc +/usr/include/lua5.1/lua-rds-parser.h --- lua-rds-parser-0.0.4.orig/debian/Makefile.Debian.conf +++ lua-rds-parser-0.0.4/debian/Makefile.Debian.conf @@ -0,0 +1,20 @@ +PKG_NAME=rds.parser + +### things relative to the C library part +CLIB_CFLAGS= -I src/ +CLIB_LDFLAGS= +CLIB_OBJS= src/rds_parser.lo +VERSION_INFO=0:0:0 + +### things relative to the lua library part +LUA_HEADER= +LUA_SOURCES= +LUA_MODNAME= +LUA_TEST= #tests/test.lua + +### 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=https://github.com/agentzh/lua-rds-parser +PKG_REQUIRES= +PKG_CONFLICTS= --- lua-rds-parser-0.0.4.orig/debian/watch +++ lua-rds-parser-0.0.4/debian/watch @@ -0,0 +1,5 @@ +# test this watch file using: +# uscan --watchfile debian/watch --upstream-version 0.0.1 --package lua-rds-parser +# +version=3 +http://githubredir.debian.net/github/agentzh/lua-rds-parser (.+).tar.gz --- lua-rds-parser-0.0.4.orig/debian/rules +++ lua-rds-parser-0.0.4/debian/rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/class/lua.mk --- lua-rds-parser-0.0.4.orig/debian/patches/00dpatch.conf +++ lua-rds-parser-0.0.4/debian/patches/00dpatch.conf @@ -0,0 +1,2 @@ +conf_debianonly=1 +conf_origtargzpath=../tarballs/