From 9434d681d1497fc6915eec440fcd82f94b0b62ed Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 30 Mar 2011 00:27:12 +0000 Subject: no more cdbs --- debian/Makefile.Debian.conf | 42 ---------------------------------- debian/control | 11 +-------- debian/rules | 55 ++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 55 insertions(+), 53 deletions(-) delete mode 100644 debian/Makefile.Debian.conf diff --git a/debian/Makefile.Debian.conf b/debian/Makefile.Debian.conf deleted file mode 100644 index a93d779..0000000 --- a/debian/Makefile.Debian.conf +++ /dev/null @@ -1,42 +0,0 @@ -### $Id: Makefile.Debian.conf.sample 1398 2009-11-13 21:10:12Z gareuselesinge $ - -### mandatory fields -PKG_NAME=mq - -### things relative to the C library part -CLIB_CFLAGS=-Isrc/ -CLIB_LDFLAGS= -CLIB_LDFLAGS_STATIC= -CLIB_OBJS=src/lua-mq.lo -VERSION_INFO=0:1:0 - -### things relative to the lua library part -LUA_HEADER= -LUA_SOURCES= -LUA_MODNAME=mq -LUA_TEST= - -### 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= -PKG_CONFLICTS= - -### this part is relative to debian libs naming policy -DEB_EXTRA_DASH= - -### In addition, to gather flexibility, you can set these hooks -### (called in this order) -pre-all-hook:: -post-all-hook:: -pre-test-hook:: -pre-lua-dynamic-test-hook:: -pre-dynamic-link-hook:: -pre-app-dynamic-test-hook:: -pre-static-link-hook:: -pre-app-static-test-hook:: -pre-install-hook:: -post-install-hook:: -pre-clean-hook:: -post-clean-hook:: diff --git a/debian/control b/debian/control index f0f5860..3c641eb 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: luamq Section: interpreters Priority: optional Maintainer: Christian Pointner -Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), lua5.1-policy-dev +Build-Depends: debhelper (>= 5), liblua5.1-0-dev Standards-Version: 3.8.2 Homepage: http://www.spreadspace.org/ @@ -12,12 +12,3 @@ Depends: ${shlibs:Depends} Description: luamq library for the Lua language version 5.1 This package contains the luamq library a interface to posix message queues. - -Package: liblua5.1-mq-dev -Architecture: any -Depends: liblua5.1-mq (= ${binary:Version}) -Section: libdevel -Description: luamq development files for the Lua language version 5.1 - This package contains the development files of the luamq library, - useful to create a statically linked binary (like a C application or - a standalone Lua interpreter). diff --git a/debian/rules b/debian/rules index c145fe8..51b69fb 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,58 @@ #!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. -include /usr/share/cdbs/1/class/lua.mk +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + $(MAKE) + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + $(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_installdirs + $(MAKE) clean + +# Build architecture-independent files here. +binary-indep: install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure -- cgit v1.2.3