--- muparser-1.27.orig/debian/libmuparser0.install +++ muparser-1.27/debian/libmuparser0.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* \ No newline at end of file --- muparser-1.27.orig/debian/libmuparser-dev.install +++ muparser-1.27/debian/libmuparser-dev.install @@ -0,0 +1,3 @@ +usr/include/* usr/include/muParser +usr/lib/lib*.so +usr/lib/pkgconfig/* --- muparser-1.27.orig/debian/copyright +++ muparser-1.27/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Gudjon I. Gudjonsson on +Wed, 27 Dec 2006 17:13:11 +0100. + +It was downloaded from http://muparser.sourceforge.net + +Upstream Author: Ingo Berg + +Copyright: (C) 2004-2006 Ingo Berg + +muParser is licensed under the MIT license: + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +The Debian packaging is (C) 2006, Gudjon I. Gudjonsson and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- muparser-1.27.orig/debian/control +++ muparser-1.27/debian/control @@ -0,0 +1,46 @@ +Source: muparser +Priority: extra +Maintainer: Gudjon I. Gudjonsson +Build-Depends: debhelper (>= 5), autotools-dev, dpatch +Standards-Version: 3.7.2 +Section: libs + +Package: libmuparser-dev +Section: libdevel +Architecture: any +Depends: libmuparser0 (= ${Source-Version}) +Description: fast mathematical expressions parse library (development) + muParser is a high performance mathematical parser library, written in pure + C++. It is based on transforming an expression into a bytecode and + precalculating constant parts of it. + . + This package contains the development files. + . + Homepage: http://muparser.sourceforge.net + +Package: libmuparser0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: fast mathematical expressions parser library (runtime) + muParser is a high performance mathematical parser library, written in pure + C++. It is based on transforming an expression into a bytecode and + precalculating constant parts of it. + . + This package contains the files necessary for running applications that use + the muParser library. + . + Homepage: http://muparser.sourceforge.net + + +Package: libmuparser-doc +Section: doc +Architecture: all +Description: fast mathematical expressions parser library (documentation) + muParser is a high performance mathematical parser library, written in pure + C++. It is based on transforming an expression into a bytecode and + precalculating constant parts of it. + . + This package contains the documentation for muParser. + . + Homepage is: http://muparser.sourceforge.net/ --- muparser-1.27.orig/debian/libmuparser-doc.install +++ muparser-1.27/debian/libmuparser-doc.install @@ -0,0 +1 @@ +usr/share/doc/libmuparser-doc \ No newline at end of file --- muparser-1.27.orig/debian/libmuparser0.dirs +++ muparser-1.27/debian/libmuparser0.dirs @@ -0,0 +1 @@ +usr/lib --- muparser-1.27.orig/debian/libmuparser-dev.dirs +++ muparser-1.27/debian/libmuparser-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include/muParser --- muparser-1.27.orig/debian/rules +++ muparser-1.27/debian/rules @@ -0,0 +1,102 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +version=0.0.0 +major=0 + +config.status: configure +configure: patch +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + dh_testdir + + ./configure CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" \ + --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --includedir="\${prefix}/include/muParser" \ + --mandir="\${prefix}/share/man" \ + --infodir="\${prefix}/share/info" \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --libexecdir="\${prefix}/lib/muparser" \ + --disable-maintainer-mode \ + --disable-dependency-tracking \ + --srcdir=. \ + --docdir="\${prefix}/share/doc/libmuparser-doc" + +build: build-stamp +build-stamp: config.status + dh_testdir + + $(MAKE) + + touch $@ + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp + + -$(MAKE) distclean + rm -f config.sub config.guess + + dh_clean + +patch: patch-stamp +patch-stamp: + dpatch apply-all + +unpatch: + dpatch deapply-all + rm -rf patch-stamp debian/patched + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) prefix=$(CURDIR)/debian/tmp/usr install + + #Install docs + mkdir -p debian/tmp/usr/share/doc/libmuparser-doc + cp -a samples docs/html debian/tmp/usr/share/doc/libmuparser-doc + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs Changes.txt + dh_installdocs Credits.txt + dh_installexamples + dh_install --sourcedir=debian/tmp + dh_link + dh_strip + dh_compress --exclude=.cpp --exclude=.h --exclude=.resX + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- muparser-1.27.orig/debian/changelog +++ muparser-1.27/debian/changelog @@ -0,0 +1,6 @@ +muparser (1.27-1) unstable; urgency=low + + * Initial release (Closes: #408546) + + -- Gudjon I. Gudjonsson Wed, 27 Dec 2006 17:13:11 +0100 + --- muparser-1.27.orig/debian/libmuparser-doc.dirs +++ muparser-1.27/debian/libmuparser-doc.dirs @@ -0,0 +1 @@ +usr/share/doc/libmuparser-doc \ No newline at end of file --- muparser-1.27.orig/debian/compat +++ muparser-1.27/debian/compat @@ -0,0 +1 @@ +5 --- muparser-1.27.orig/debian/muparser.doc-base +++ muparser-1.27/debian/muparser.doc-base @@ -0,0 +1,17 @@ +Document: muparser +Title: Debian muparser Manual +Author: Ingo Berg +Abstract: muParser - a fast math parser library. Many applications +require the parsing of mathematical expressions. The main objective +of this project is to provide a fast and easy way of doing this. +muParser is an extensible high performance math parser library. +It is based on transforming an expression into a bytecode and +precalculating constant parts of it. + +Section: libs + +Format: HTML +Index: /usr/share/doc/libmuparser-doc/html/index.html +Files: /usr/share/doc/libmuparser-doc/html/*.html + +