diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..dafa1e8 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libmawk (1.0.0-1) unstable; urgency=low + + * New upstream release + + -- Tibor Palinkas Mon, 29 Oct 2018 20:16:34 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..940c55e --- /dev/null +++ b/debian/control @@ -0,0 +1,34 @@ +Source: libmawk +Section: libs +Priority: optional +Maintainer: Debian Electronics Team +Uploaders: Bdale Garbee +Build-Depends: debhelper (>= 11) +Standards-Version: 4.1.3 +Homepage: http://repo.hu/projects/libmawk + +Package: libmawk +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: embeddable mawk lib + Libmawk is a fork of the popular awk implementation mawk, and aims to be + the lightweight script language programmers embed in their application. + . + This implementation also supports some minor extensions over mawk: + - dynamic awk function calls from awk scripts (by name in string) + - dynamic variables (access variable by name in string) + - include "scriptname.awk" + . + Besides the shared object, an lmawk binary is also installed, which is + command-line-compatible with mawk but provides all those extra features. + +Package: libmawk-dev +Section: libdevel +Architecture: all +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: embeddable mawk lib + Libmawk is a fork of the popular awk implementation mawk, and aims to be + the lightweight script language programmers embed in their application. + . + This package constains all header files to allow applications to compile + with embedded awk scripting. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..4f9bd3d --- /dev/null +++ b/debian/copyright @@ -0,0 +1,23 @@ +This is the Debian GNU prepackaged version of libmawk, a fork of +mawk, which is an implementation of the AWK Programming Language. +mawk was written by Mike Brennan + +mawk 1.3.3 Nov 1996, Copyright (C) Michael D. Brennan +Modifications for Debian GNU/Linux Copyright (C) 1995-96 Chris Fearnley. +Modifications for Debian GNU/Linux Copyright (C) 1998-2003 James Troup. +Modifications for libmawk Copyright (C) 2009-2018 Tibor 'Igor2' Palinkas. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License version 2 as published +by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License with +your Debian GNU system, in /usr/share/common-licenses/GPL-2, or with the +Debian GNU mawk source package as the file COPYING. If not, write to +the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, +Boston, MA 02110-1301, USA. diff --git a/debian/doc-base b/debian/doc-base new file mode 100644 index 0000000..7d8afdc --- /dev/null +++ b/debian/doc-base @@ -0,0 +1,9 @@ +Document: libmawk +Title: libmawk Manual +Author: Tibor Palinkas +Abstract: libmawk Manual +Section: Science/Engineering + +Format: HTML +Index: /usr/share/doc/libmawk/index.html +Files: /usr/share/doc/libmawk/index.html diff --git a/debian/libmawk-dev.install b/debian/libmawk-dev.install new file mode 100644 index 0000000..34e11d3 --- /dev/null +++ b/debian/libmawk-dev.install @@ -0,0 +1,2 @@ +/usr/lib/*.so +/usr/include/* diff --git a/debian/libmawk.install b/debian/libmawk.install new file mode 100644 index 0000000..51584f1 --- /dev/null +++ b/debian/libmawk.install @@ -0,0 +1,6 @@ +/usr/bin/* +/usr/lib/*.so.[0123456789] +/usr/lib/*.so.*.*.* +/usr/share/man/* +/usr/share/doc/* + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b669b46 --- /dev/null +++ b/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +DH_VERBOSE = 1 +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + +%: + dh $@ + +override_dh_auto_configure: + ./configure \ + --prefix=/usr \ + --LDFLAGS='$(LDFLAGS)' \ + --CFLAGS='$(CFLAGS) $(CPPFLAGS)' + +override_dh_auto_clean: + # only try to run dh_auto_clean if configure has been run + test -f src/libmawk/Makefile.conf && dh_auto_clean || true diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..f8a3cc6 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=dversionmangle=s/\+repack.*$// \ + http://repo.hu/projects/libmawk/releases/libmawk-(.*)\.tar\.gz