--- freehdl-0.0.7.orig/freehdl.pc.in
+++ freehdl-0.0.7/freehdl.pc.in
@@ -4,7 +4,7 @@
 includedir=@includedir@
 cxxflags=@CXXFLAGS@
 cflags=@CFLAGS@
-cxx=@CXX@
+cxx=g++
 libtool=@SYSTEM_LIBTOOL@
 
 
--- freehdl-0.0.7.orig/debian/libfreehdl0-dev.install
+++ freehdl-0.0.7/debian/libfreehdl0-dev.install
@@ -0,0 +1,8 @@
+usr/include/freehdl/*
+usr/lib/libfreehdl*.so
+usr/lib/libfreehdl*.a
+usr/lib/libfreehdl*.la
+usr/lib/freehdl/*.so
+usr/lib/freehdl/*.a
+usr/lib/freehdl/*.la
+
--- freehdl-0.0.7.orig/debian/rules
+++ freehdl-0.0.7/debian/rules
@@ -0,0 +1,78 @@
+#!/usr/bin/make -f
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+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
+
+config.status: configure
+	dh_testdir
+
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE)  --prefix=/usr \
+	--mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info 
+
+
+build: build-stamp
+
+build-stamp:  config.status
+	dh_testdir
+	$(MAKE)
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+	rm -f config.log
+	 [ ! -f Makefile ] || $(MAKE) distclean
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+	cp -f $(CURDIR)/debian/lintian-overrides $(CURDIR)/debian/libfreehdl0/usr/share/lintian/overrides/libfreehdl0
+	$(RM) -v $(CURDIR)/debian/tmp/usr/share/info/dir
+
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+#	dh_installexamples
+	dh_install  --sourcedir=debian/tmp
+	dh_installmenu
+	dh_installinfo -pfreehdl
+	dh_installman -pfreehdl
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs 
+	dh_installdeb
+	dh_shlibdeps
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
--- freehdl-0.0.7.orig/debian/freehdl.docs
+++ freehdl-0.0.7/debian/freehdl.docs
@@ -0,0 +1,8 @@
+NEWS
+README
+README.AIRE
+README.gen-nodes
+README.libraries
+README.v2cc
+README.vaul
+HACKING
--- freehdl-0.0.7.orig/debian/compat
+++ freehdl-0.0.7/debian/compat
@@ -0,0 +1 @@
+5
--- freehdl-0.0.7.orig/debian/control
+++ freehdl-0.0.7/debian/control
@@ -0,0 +1,39 @@
+Source: freehdl
+Section: electronics
+Priority: optional
+Maintainer: José L. Redrejo Rodríguez <jredrejo@debian.org>
+Build-Depends: debhelper (>= 5.0.0), bison, flex, guile-1.6, pkg-config, libtool
+Homepage: http://www.freehdl.seul.org
+Standards-Version: 3.8.1
+
+Package: freehdl
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, g++, libfreehdl0-dev, guile-1.6 | guile, libtool
+Description: VHDL simulator for Linux
+ This is a free VHDL simulator with these features:
+  * Has a graphical waveform viewer.
+  * Has a source level debugger.
+  * Is VHDL-93 compliant.
+
+Package: libfreehdl0-dev
+Section: libdevel
+Architecture: any
+Depends: libfreehdl0 (=${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: VHDL simulator for Linux (development headers)
+ This is a free VHDL simulator with these features:
+  * Has a graphical waveform viewer.
+  * Has a source level debugger.
+  * Is VHDL-93 compliant.
+ .
+ The development headers are needed to compile simulations, not only
+ to build freehdl based applications.
+
+Package: libfreehdl0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: VHDL simulator for Linux (shared libraries)
+ This is a free VHDL simulator with these features:
+  * Has a graphical waveform viewer.
+  * Has a source level debugger.
+  * Is VHDL-93 compliant.
--- freehdl-0.0.7.orig/debian/libfreehdl0-dev.dirs
+++ freehdl-0.0.7/debian/libfreehdl0-dev.dirs
@@ -0,0 +1,2 @@
+usr/lib/freehdl
+usr/include/freehdl
--- freehdl-0.0.7.orig/debian/changelog
+++ freehdl-0.0.7/debian/changelog
@@ -0,0 +1,76 @@
+freehdl (0.0.7-1.5.201411010754) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. The following patches have been applied to the original source package
+    0001-bump-version-for-ucs400
+
+ -- Univention builddaemon <buildd@univention.de>  Sat, 01 Nov 2014 07:54:01 +0100
+
+freehdl (0.0.7-1) unstable; urgency=low
+
+  * Bump version, otherwise the build stamp in UCS 3.2 is higher than the 4.0
+    build (Bug #35387)
+
+ -- Sönke Schwardt-Krummrich <schwardt@univention.de>  Fri, 30 Oct 2014 14:43:23 +0200
+
+freehdl (0.0.7-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: build-dependency not installable: g++-4.3" and "non-standard
+    gcc/g++ used for build (gcc-4.3)": drop g++-4.3 in debian/control and CXX
+    in debian/rules.
+    Closes: #629731, #533812
+    LP: #745544, #749133
+  * debian/rules: remove usr/share/info/dir.gz (ftp-master autoreject reason).
+
+ -- gregor herrmann <gregoa@debian.org>  Sat, 10 Sep 2011 18:17:56 +0200
+
+freehdl (0.0.7-1) unstable; urgency=low
+
+  * New upstream release 
+  * Bumped standards version to 3.8.1, no changes required.
+
+ -- José L. Redrejo Rodríguez <jredrejo@debian.org>  Sun, 17 May 2009 14:35:02 +0200
+
+freehdl (0.0.6-3) unstable; urgency=low
+
+  * freehdl.pc.in modified to work with generic g++ instead of an exact version
+  * Added dependency on libtool 
+
+ -- José L. Redrejo Rodríguez <jredrejo@debian.org>  Tue, 24 Feb 2009 18:19:26 +0100
+
+freehdl (0.0.6-2) unstable; urgency=low
+
+  * Added to libfreehdl0 a file needed by pkgconfig (Closes: #486101)
+  * Bumped standards version to 3.8.0, no changes required.
+  * Removed obsolete linda overrides.
+  * Adjusted line 1 of debian/copyright to 80 cols.
+
+ -- José L. Redrejo Rodríguez <jredrejo@debian.org>  Fri, 18 Jul 2008 17:05:55 +0200
+
+freehdl (0.0.6-1) unstable; urgency=low
+
+  * New upstream release (Closes: #455141)
+  * debian/control: 
+    - fixed libfreehdl0 short description (Closes: #422743)
+    - bumped stardard version
+    - build depends on g++-4.3 
+    - use homepage field
+
+ -- José L. Redrejo Rodríguez <jredrejo@debian.org>  Tue, 15 Apr 2008 22:35:42 +0200
+
+freehdl (0.0.4-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix gcc-4.3 FTBFS thanks to Cyril Brulebois (Closes: 455141).
+
+ -- Pierre Habouzit <madcoder@debian.org>  Sun, 16 Mar 2008 20:40:19 +0000
+
+freehdl (0.0.4-1) unstable; urgency=low
+
+  * Initial Release (Closes: #389797).
+  * Added lintian ignore for warning about "package-name-doesnt-match-sonames",
+    since I don't have a seperate libs package for every freehdl driver
+  * doc/fire.info: added INFO-DIR-SECTION to the file
+
+ -- José L. Redrejo Rodríguez <jredrejo@debian.org>  Sat, 17 Mar 2007 11:53:16 +0200
+
--- freehdl-0.0.7.orig/debian/libfreehdl0.shlibs
+++ freehdl-0.0.7/debian/libfreehdl0.shlibs
@@ -0,0 +1,6 @@
+libieee 0 libfreehdl0
+libfreehdl-cdfggen 0 libfreehdl0
+libfreehdl-fire 0 libfreehdl0
+libfreehdl-kernel 0 libfreehdl0
+libfreehdl-std 0 libfreehdl0
+libfreehdl-vaul 0 libfreehdl0
--- freehdl-0.0.7.orig/debian/copyright
+++ freehdl-0.0.7/debian/copyright
@@ -0,0 +1,52 @@
+This package was debianized by José L. Redrejo Rodríguez 
+<jredrejo@debian.org> on Sat, 3 Jun 2006 18:11:28 +0200.
+
+It was downloaded from http://www.freehdl.seul.org/
+
+Upstream Authors:
+    Marius Vollmer <mvo@zagadka.ping.de> (parser)
+    Edwin Naroska <edwin@ds.e-technik.uni-dortmund.de>(code generator/simulator)
+    Said Mchaalia <said@ds.e-technik.uni-dortmund.de> (VCD dumper)
+    David Colson <dscolson@rcn.com> (testing)
+    Philippe <hensel@seul.org> (FHDLgui)
+    Stefan Jahn <stefan@lkcc.org> (testing/maintenance)
+
+The file doc/fire.texi used to generate the fire.info file is released under the
+GNU Free Documentation License (GFDL): 
+      Permission is granted to copy, distribute and/or modify this document
+      under the terms of the GNU Free Documentation License, Version 1.2
+      or any later version published by the Free Software Foundation;
+      with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
+      Texts.  A copy of the license is included in the section entitled
+      "GNU Free Documentation License".
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GFDL-1.2'.
+
+In the source ieee directory, several standard VHDL headers say "all rights
+reserved". However, these standard headers are actually not copyrightable 
+because they merely define an interface, and do NOT fall under any category of 
+copyrightable works as defined by U.S. Code Title 17 §102(a), and in fact is 
+specifically excluded by §102(b).
+
+The rest of the source code is released under GPL
+
+Copyright (C) 2005-2006 FreeHDL team
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    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
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
--- freehdl-0.0.7.orig/debian/lintian-overrides
+++ freehdl-0.0.7/debian/lintian-overrides
@@ -0,0 +1 @@
+libfreehdl0: package-name-doesnt-match-sonames libfreehdl-cdfggen0 libfreehdl-fire0 libfreehdl-kernel0 libfreehdl-std0 libfreehdl-vaul0
--- freehdl-0.0.7.orig/debian/libfreehdl0.dirs
+++ freehdl-0.0.7/debian/libfreehdl0.dirs
@@ -0,0 +1,3 @@
+usr/lib/freehdl
+usr/share/lintian/overrides
+
--- freehdl-0.0.7.orig/debian/freehdl.dirs
+++ freehdl-0.0.7/debian/freehdl.dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/freehdl/lib
--- freehdl-0.0.7.orig/debian/libfreehdl0.install
+++ freehdl-0.0.7/debian/libfreehdl0.install
@@ -0,0 +1,3 @@
+usr/lib/*.so.*
+usr/lib/freehdl/*.so.*
+usr/lib/pkgconfig/freehdl.pc
--- freehdl-0.0.7.orig/debian/freehdl.install
+++ freehdl-0.0.7/debian/freehdl.install
@@ -0,0 +1,5 @@
+usr/bin/*
+usr/share/freehdl
+usr/share/man/man5
+usr/share/man/man1
+usr/share/info
