diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-03 14:44:58 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-03 14:44:58 -0500 |
commit | 0cc79c34f5e9be7eced52b0565e8e79acfa5f4e6 (patch) | |
tree | c0d0d652fef20159e78fa20b2567661bd7db8e41 /debian/lenny/applications/ktechlab | |
parent | 6b027437fd51e7874aaffed9e395ddf7913c3ab4 (diff) | |
download | tde-packaging-0cc79c34f5e9be7eced52b0565e8e79acfa5f4e6.tar.gz tde-packaging-0cc79c34f5e9be7eced52b0565e8e79acfa5f4e6.zip |
Add initial Debian Lenny/Squeeze packaging as well as symlink Lucid to Maverick
Diffstat (limited to 'debian/lenny/applications/ktechlab')
-rw-r--r-- | debian/lenny/applications/ktechlab/debian/changelog | 102 | ||||
-rw-r--r-- | debian/lenny/applications/ktechlab/debian/compat | 1 | ||||
-rw-r--r-- | debian/lenny/applications/ktechlab/debian/control | 16 | ||||
-rw-r--r-- | debian/lenny/applications/ktechlab/debian/copyright | 49 | ||||
-rw-r--r-- | debian/lenny/applications/ktechlab/debian/debiandirs | 32 | ||||
-rw-r--r-- | debian/lenny/applications/ktechlab/debian/docs | 2 | ||||
-rw-r--r-- | debian/lenny/applications/ktechlab/debian/ktechlab.1 | 151 | ||||
-rw-r--r-- | debian/lenny/applications/ktechlab/debian/manpages | 2 | ||||
-rw-r--r-- | debian/lenny/applications/ktechlab/debian/menu | 6 | ||||
-rw-r--r-- | debian/lenny/applications/ktechlab/debian/microbe.1 | 162 | ||||
-rw-r--r-- | debian/lenny/applications/ktechlab/debian/patches/.gitignore | 0 | ||||
-rwxr-xr-x | debian/lenny/applications/ktechlab/debian/rules | 116 |
12 files changed, 639 insertions, 0 deletions
diff --git a/debian/lenny/applications/ktechlab/debian/changelog b/debian/lenny/applications/ktechlab/debian/changelog new file mode 100644 index 000000000..b970f36c7 --- /dev/null +++ b/debian/lenny/applications/ktechlab/debian/changelog @@ -0,0 +1,102 @@ +ktechlab-trinity (0.3-9~1ubuntu0) karmic; urgency=low + + * Karmic rebuild + + -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 July 2009 16:08:00 -0600 + +ktechlab-trinity (0.3-9~0ubuntu5) intrepid; urgency=low + + * Moved KDE3 to /opt/trinity + * Integrated properly with KDE4.2+ + + -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Fri, 06 March 2009 01:35:00 -0600 + +ktechlab-trinity (0.3-9~0ubuntu2) intrepid; urgency=low + + * Added -trinity suffix + + -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Wed, 19 Dec 2008 12:52:00 -0600 + +ktechlab (0.3-9) unstable; urgency=low + + * adopted the package ktechlab, with the agreement of Steffen Joeris. + * Made a new patch to make the package compilable with g++-4.3: + src/electronics/simulation/matrix.cpp: simplified the invokation of + new ETMap() to use the default parameters + other places: cleaned the calls to std::abs which need either a + float or a double, made a few modifications to include math.h, + define the type uint when necessary. + (Closes: #474842) + * Made a true Homepage: entry in debian/control + * Upgraded Standards-Version to 3.7.3 + * added a French translation, modified po/Makefile.in to deal with + translations. + * Raised the DH_COMPAT level to 6. + * Added kdesdk-scripts to build-depends to get the extractrc command + + -- Georges Khaznadar <georgesk@ofset.org> Sat, 07 Jun 2008 05:38:09 +0200 + +ktechlab (0.3-8) unstable; urgency=medium + + * Add libpopt-dev as build-depends to avoid FTBFS (Closes: #441480) + * Remove two rpaths from the binaries and add chrpath to + build-depends + * Change Apps to Applications in menu file to follow new format + + -- Steffen Joeris <white@debian.org> Wed, 19 Sep 2007 22:29:06 +1000 + +ktechlab (0.3-7) unstable; urgency=low + + * Upload to unstable + + -- Steffen Joeris <white@debian.org> Tue, 08 May 2007 18:02:15 +1000 + +ktechlab (0.3-6) experimental; urgency=low + + * Expand 30-g++-4.2.dpatch to cover another compiler problem, + thanks to Martin Michlmayer (Closes: #394173) + * Change my maintainer address + + -- Steffen Joeris <white@debian.org> Tue, 9 Jan 2007 09:48:19 +0100 + +ktechlab (0.3-5) unstable; urgency=low + + * Add gpsim-dev to build-depends to get pic support working + (Closes: #357691) + * Add libgtk2.0-dev and libreadline5-dev to build-depends + * Upload sponsored by Petter Reinholdtsen. + + -- Steffen Joeris <steffen.joeris@skolelinux.de> Fri, 29 Sep 2006 17:25:55 +1000 + +ktechlab (0.3-4) unstable; urgency=low + + * Now recommends gputils for other features + * Add 30-g++.dpatch to prevent FTBFS with g++-4.2 (Closes: #362208) + * Upload sponsored by Petter Reinholdtsen. + + -- Steffen Joeris <steffen.joeris@skolelinux.de> Sat, 24 Jun 2006 14:03:05 +0200 + +ktechlab (0.3-3) unstable; urgency=low + + * Include patch to let ktechlab build with g++-4.1 + Thanks to Martin Michlmayr (Closes: #356611) + * Upload sponsored by Petter Reinholdtsen. + + -- Steffen Joeris <steffen.joeris@skolelinux.de> Mon, 13 Mar 2006 00:57:32 +0100 + +ktechlab (0.3-2) unstable; urgency=low + + * remove include sys/io.h to let the package build + on other archs then i386 and amd64 (Closes: #349854) + * add dpatch to build-depends + * upload sponsored by Petter Reinholdtsen. + + -- Steffen Joeris <steffen.joeris@skolelinux.de> Thu, 26 Jan 2006 00:21:36 +0100 + +ktechlab (0.3-1) unstable; urgency=low + + * Initial release (Closes: #308551) + * Upload sponsored by Petter Reinholdtsen. + + -- Steffen Joeris <steffen.joeris@skolelinux.de> Thu, 12 Jan 2006 00:47:52 +0100 + diff --git a/debian/lenny/applications/ktechlab/debian/compat b/debian/lenny/applications/ktechlab/debian/compat new file mode 100644 index 000000000..1e8b31496 --- /dev/null +++ b/debian/lenny/applications/ktechlab/debian/compat @@ -0,0 +1 @@ +6 diff --git a/debian/lenny/applications/ktechlab/debian/control b/debian/lenny/applications/ktechlab/debian/control new file mode 100644 index 000000000..978ef5a9c --- /dev/null +++ b/debian/lenny/applications/ktechlab/debian/control @@ -0,0 +1,16 @@ +Source: ktechlab-trinity +Section: kde +Priority: optional +Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net> +Build-Depends: debhelper (>= 6.0.0), imagemagick, kdelibs4-trinity-dev, dpatch, gpsim-dev (>= 0.21.11-2), libgtk2.0-dev, libreadline6-dev, libopts25-dev, chrpath, libpopt-dev, kdesdk-scripts-trinity, automake, autoconf, libtool, libltdl-dev +Standards-Version: 3.8.4 + +Package: ktechlab-trinity +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: gputils +Description: circuit simulator for microcontrollers and electronics [Trinity] + KTechlab is a circuit simulator with a nice, clickable and discoverable + interface. It supports many discrete components, logic circuits as well + as PIC programming in its own Basic dialect and some form of assembler. +Homepage: http://ktechlab.org/ diff --git a/debian/lenny/applications/ktechlab/debian/copyright b/debian/lenny/applications/ktechlab/debian/copyright new file mode 100644 index 000000000..5b1af8a2e --- /dev/null +++ b/debian/lenny/applications/ktechlab/debian/copyright @@ -0,0 +1,49 @@ +This package was debianized by Steffen Joeris <steffen.joeris@skolelinux.de> on +Thu, 12 Jan 2006 00:47:52 +0100. + +It was downloaded from http://ktechlab.org/download/ + +Copyright Holder: David Saxton <david@bluehaze.org> + Daniel Clarke <daniel.jc@gmail.com> + (Main Developers) + +Additional Copyright Holders: + Copyright (C) 1997 Martin Jones (mjones@kde.org) +Files: src/gui/colorcombo.h + + Copyright (C) 2005 by Fredy Yanardi +Files: src/electronics/components/magnitudecomparator.h + src/electronics/components/magnitudecomparator.cpp + + Copyright (C) 2005 by John Myers +Files: src/electronics/components/rotoswitch.h + src/electronics/components/rotoswitch.cpp + + Copyright (C) 2005 Christoph Cullmann <cullmann@kde.org> +Files: src/katemdi.h + src/katemdi.cpp + + Copyright (C) 2002, 2003 Joseph Wenninger <jowenn@kde.org> +Files: src/katemdi.h + src/katemdi.cpp + + Copyright (C) 2002 Simon Hausmann <hausmann@kde.org> +Files: src/katemdi.cpp + + Copyright Anders Lund <anders.lund@lund.tdcadsl.dk> +Files: src/view.cpp + + +License: + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License, version 2 +or higher 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 +MERCHANDABILITY of FITNESS FOR A PARTICULAR PURPOSE. +See the GNU General Public License for details. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. diff --git a/debian/lenny/applications/ktechlab/debian/debiandirs b/debian/lenny/applications/ktechlab/debian/debiandirs new file mode 100644 index 000000000..a26d7ec9f --- /dev/null +++ b/debian/lenny/applications/ktechlab/debian/debiandirs @@ -0,0 +1,32 @@ +export kde_confdir=/etc/trinity +export kde_prefix=/opt/trinity +export kde_bindir=/opt/trinity/bin +export kde_includedir=/opt/trinity/include/kde +export kde_libdir=/opt/trinity/lib +export kde_cgidir=/opt/trinity/lib/cgi-bin +export kde_moduledir=/opt/trinity/lib/kde3 +export kde_appsdir=/opt/trinity/share/applnk +export kde_datadir=/opt/trinity/share/apps +export kde_htmldir=/opt/trinity/share/doc/kde/HTML +export kde_icondir=/opt/trinity/share/icons +export kde_locale=/opt/trinity/share/locale +export kde_mimedir=/opt/trinity/share/mimelnk +export kde_servicesdir=/opt/trinity/share/services +export kde_servicetypesdir=/opt/trinity/share/servicetypes +export kde_sounddir=/opt/trinity/share/sounds +export kde_templatesdir=/opt/trinity/share/templates +export kde_wallpaperdir=/opt/trinity/share/wallpapers +export mandir=/opt/trinity/share/man +export infodir=/opt/trinity/share/info +export sysconfdir=/etc +export QTDIR=/usr/share/qt3 +export IDL=/opt/trinity/bin/cuteidl +export DCOPIDL=/opt/trinity/bin/dcopidl +export DCOPIDL2CPP=/opt/trinity/bin/dcopidl2cpp +export KDB2HTML=/opt/trinity/bin/kdb2html +export MCOPIDL=/opt/trinity/bin/mcopidl +export ARTSCCONFIG=/opt/trinity/bin/artsc-config +export INSTALL_DATA=install -p -c -m 644 +configkde=--disable-debug --disable-rpath --prefix=$(kde_prefix) --libexecdir=$(kde_bindir) --sysconfdir=$(sysconfdir) --libdir=$(kde_libdir) --includedir=$(kde_includedir) --with-qt-includes=/usr/include/qt3 --mandir=$(mandir) --infodir=$(infodir) --with-xinerama +configkdevelop=--disable-debug --disable-rpath --enable-docbase --enable-kdoc2 --libdir=$(kde_libdir) --includedir=$(kde_includedir) --with-qt-includes=/usr/include/qt3 --mandir=$(mandir) --with-kdelibsdoc-dir=/opt/trinity/share/doc/kdelibs3-doc/html --with-xinerama +configkdepim=--disable-debug --disable-rpath --with-extra-includes=/usr/include/libpisock --enable-shared --prefix=$(kde_prefix) --libexecdir=$(kde_bindir) --with-qt-includes=/usr/include/qt3 --mandir=$(mandir) --infodir=$(infodir) --with-xinerama diff --git a/debian/lenny/applications/ktechlab/debian/docs b/debian/lenny/applications/ktechlab/debian/docs new file mode 100644 index 000000000..724e08449 --- /dev/null +++ b/debian/lenny/applications/ktechlab/debian/docs @@ -0,0 +1,2 @@ +README +TODO diff --git a/debian/lenny/applications/ktechlab/debian/ktechlab.1 b/debian/lenny/applications/ktechlab/debian/ktechlab.1 new file mode 100644 index 000000000..226deb2e6 --- /dev/null +++ b/debian/lenny/applications/ktechlab/debian/ktechlab.1 @@ -0,0 +1,151 @@ +.\" This file was generated by kdemangen.pl +.TH KTECHLAB 1 "Jan 2006" "K Desktop Environment" "An IDE for microcontrollers and electronics" +.SH NAME +ktechlab +\- An IDE for microcontrollers and electronics +.SH SYNOPSIS +ktechlab [Qt\-options] [KDE\-options] [URL] +.SH DESCRIPTION +An IDE for microcontrollers and electronics +.SH OPTIONS +.SS +.SS Arguments: +.TP +.B URL +Document to open. +.SS Generic options: +.TP +.B \-\-help +Show help about options +.TP +.B \-\-help\-qt +Show Qt specific options +.TP +.B \-\-help\-kde +Show KDE specific options +.TP +.B \-\-help\-all +Show all options +.TP +.B \-\-author +Show author information +.TP +.B \-v, \-\-version +Show version information +.TP +.B \-\-license +Show license information +.TP +.B \-\- +End of options +.SS +.SS KDE options: +.TP +.B \-\-caption <caption> +Use 'caption' as name in the titlebar +.TP +.B \-\-icon <icon> +Use 'icon' as the application icon +.TP +.B \-\-miniicon <icon> +Use 'icon' as the icon in the titlebar +.TP +.B \-\-config <filename> +Use alternative configuration file +.TP +.B \-\-dcopserver <server> +Use the DCOP Server specified by 'server' +.TP +.B \-\-nocrashhandler +Disable crash handler, to get core dumps +.TP +.B \-\-waitforwm +Waits for a WM_NET compatible windowmanager +.TP +.B \-\-style <style> +sets the application GUI style +.TP +.B \-\-geometry <geometry> +sets the client geometry of the main widget - see man X for the argument format +.SS +.SS Qt options: +.TP +.B \-\-display <displayname> +Use the X-server display 'displayname' +.TP +.B \-\-session <sessionId> +Restore the application for the given 'sessionId' +.TP +.B \-\-cmap +Causes the application to install a private color +map on an 8-bit display +.TP +.B \-\-ncols <count> +Limits the number of colors allocated in the color +cube on an 8-bit display, if the application is +using the QApplication::ManyColor color +specification +.TP +.B \-\-nograb +tells Qt to never grab the mouse or the keyboard +.TP +.B \-\-dograb +running under a debugger can cause an implicit +-nograb, use -dograb to override +.TP +.B \-\-sync +switches to synchronous mode for debugging +.TP +.B \-\-fn, \-\-font <fontname> +defines the application font +.TP +.B \-\-bg, \-\-background <color> +sets the default background color and an +application palette (light and dark shades are +calculated) +.TP +.B \-\-fg, \-\-foreground <color> +sets the default foreground color +.TP +.B \-\-btn, \-\-button <color> +sets the default button color +.TP +.B \-\-name <name> +sets the application name +.TP +.B \-\-title <title> +sets the application title (caption) +.TP +.B \-\-visual TrueColor +forces the application to use a TrueColor visual on +an 8-bit display +.TP +.B \-\-inputstyle <inputstyle> +sets XIM (X Input Method) input style. Possible +values are onthespot, overthespot, offthespot and +root +.TP +.B \-\-im <XIM server> +set XIM server +.TP +.B \-\-noxim +disable XIM +.TP +.B \-\-reverse +mirrors the whole layout of widgets +.SS + +.SH SEE ALSO +Full user documentation is available through the KDE Help Center. You can also enter the URL +.BR help:/ktechlab/ +directly into konqueror or you can run +.BR "`khelpcenter help:/ktechlab/'" +from the command-line. +.br +.SH AUTHORS +.nf +David Saxton <david@bluehaze.org> +.br +Daniel Clarke <daniel.jc@gmail.com> +.br + diff --git a/debian/lenny/applications/ktechlab/debian/manpages b/debian/lenny/applications/ktechlab/debian/manpages new file mode 100644 index 000000000..ae17eaa94 --- /dev/null +++ b/debian/lenny/applications/ktechlab/debian/manpages @@ -0,0 +1,2 @@ +debian/ktechlab.1 +debian/microbe.1 diff --git a/debian/lenny/applications/ktechlab/debian/menu b/debian/lenny/applications/ktechlab/debian/menu new file mode 100644 index 000000000..8d468de83 --- /dev/null +++ b/debian/lenny/applications/ktechlab/debian/menu @@ -0,0 +1,6 @@ +?package(ktechlab):needs="X11" \ + section="Applications/Programming" \ + hints="KDE" \ + title="KTechLab" \ + command="/opt/trinity/bin/ktechlab" \ + icon="/usr/share/pixmaps/ktechlab.xpm" diff --git a/debian/lenny/applications/ktechlab/debian/microbe.1 b/debian/lenny/applications/ktechlab/debian/microbe.1 new file mode 100644 index 000000000..ad4ae5ec0 --- /dev/null +++ b/debian/lenny/applications/ktechlab/debian/microbe.1 @@ -0,0 +1,162 @@ +.\" This file was generated by kdemangen.pl +.TH MICROBE 1 "Jan 2006" "K Desktop Environment" "The Microbe Compiler" +.SH NAME +microbe +\- The Microbe Compiler +.SH SYNOPSIS +microbe [Qt\-options] [KDE\-options] [options] [Input URL] [Output URL] +.SH DESCRIPTION + +.SH OPTIONS +.SS +.SS Arguments: +.TP +.B Input +URL Input filename +.TP +.B Output +URL Output filename +.SS Options: +.TP +.B \-\-show\-source +Show source code lines in assembly output +.TP +.B \-\-nooptimize +Do not attempt optimization of generated instructions. +.SS +.SS Generic options: +.TP +.B \-\-help +Show help about options +.TP +.B \-\-help\-qt +Show Qt specific options +.TP +.B \-\-help\-kde +Show KDE specific options +.TP +.B \-\-help\-all +Show all options +.TP +.B \-\-author +Show author information +.TP +.B \-v, \-\-version +Show version information +.TP +.B \-\-license +Show license information +.TP +.B \-\- +End of options +.SS +.SS KDE options: +.TP +.B \-\-caption <caption> +Use 'caption' as name in the titlebar +.TP +.B \-\-icon <icon> +Use 'icon' as the application icon +.TP +.B \-\-miniicon <icon> +Use 'icon' as the icon in the titlebar +.TP +.B \-\-config <filename> +Use alternative configuration file +.TP +.B \-\-dcopserver <server> +Use the DCOP Server specified by 'server' +.TP +.B \-\-nocrashhandler +Disable crash handler, to get core dumps +.TP +.B \-\-waitforwm +Waits for a WM_NET compatible windowmanager +.TP +.B \-\-style <style> +sets the application GUI style +.TP +.B \-\-geometry <geometry> +sets the client geometry of the main widget - see man X for the argument format +.SS +.SS Qt options: +.TP +.B \-\-display <displayname> +Use the X-server display 'displayname' +.TP +.B \-\-session <sessionId> +Restore the application for the given 'sessionId' +.TP +.B \-\-cmap +Causes the application to install a private color +map on an 8-bit display +.TP +.B \-\-ncols <count> +Limits the number of colors allocated in the color +cube on an 8-bit display, if the application is +using the QApplication::ManyColor color +specification +.TP +.B \-\-nograb +tells Qt to never grab the mouse or the keyboard +.TP +.B \-\-dograb +running under a debugger can cause an implicit +-nograb, use -dograb to override +.TP +.B \-\-sync +switches to synchronous mode for debugging +.TP +.B \-\-fn, \-\-font <fontname> +defines the application font +.TP +.B \-\-bg, \-\-background <color> +sets the default background color and an +application palette (light and dark shades are +calculated) +.TP +.B \-\-fg, \-\-foreground <color> +sets the default foreground color +.TP +.B \-\-btn, \-\-button <color> +sets the default button color +.TP +.B \-\-name <name> +sets the application name +.TP +.B \-\-title <title> +sets the application title (caption) +.TP +.B \-\-visual TrueColor +forces the application to use a TrueColor visual on +an 8-bit display +.TP +.B \-\-inputstyle <inputstyle> +sets XIM (X Input Method) input style. Possible +values are onthespot, overthespot, offthespot and +root +.TP +.B \-\-im <XIM server> +set XIM server +.TP +.B \-\-noxim +disable XIM +.TP +.B \-\-reverse +mirrors the whole layout of widgets +.SS + +.SH SEE ALSO +Full user documentation is available through the KDE Help Center. You can also enter the URL +.BR help:/microbe/ +directly into konqueror or you can run +.BR "`khelpcenter help:/microbe/'" +from the command-line. +.br +.SH AUTHORS +.nf +Daniel Clarke <daniel.jc@gmail.com> +.br +David Saxton <david@bluehaze.org> +.br + diff --git a/debian/lenny/applications/ktechlab/debian/patches/.gitignore b/debian/lenny/applications/ktechlab/debian/patches/.gitignore new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/debian/lenny/applications/ktechlab/debian/patches/.gitignore diff --git a/debian/lenny/applications/ktechlab/debian/rules b/debian/lenny/applications/ktechlab/debian/rules new file mode 100755 index 000000000..cadc4e546 --- /dev/null +++ b/debian/lenny/applications/ktechlab/debian/rules @@ -0,0 +1,116 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +-include debian/debiandirs + +DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/kde +DEB_CONFIGURE_MANDIR := /opt/trinity/share/man +DEB_CONFIGURE_PREFIX := /opt/trinity +DEB_CONFIGURE_INFODIR := /opt/trinity/share/info + +cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +debian/debiandirs: admin/debianrules + perl -w admin/debianrules echodirs > debian/debiandirs + +debian/ktechlab.xpm: icons/hi32-app-ktechlab.png + convert $< $@ + +config.status: configure.in + dh_testdir + dpatch apply-all + + ! [ -f /usr/share/libtool/ltmain.sh ] || \ + cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh + ! [ -f /usr/share/libtool/config/ltmain.sh ] || \ + cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh + cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in + + make -f admin/Makefile.common cvs + touch debian/stamp-bootstrap + +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 + PATH=/opt/trinity/bin:$(PATH) CMAKE_LIBRARY_PATH=/opt/trinity/lib CMAKE_INCLUDE_PATH=/opt/trinity/include/kde CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) $(configkde) --prefix=/opt/trinity + +build: build-stamp debian/ktechlab.xpm + +build-stamp: config.status + dh_testdir + + make -f admin/Makefile.common cvs + touch debian/stamp-bootstrap + + env PATH=/opt/trinity/bin:$(PATH) CMAKE_LIBRARY_PATH=/opt/trinity/lib CMAKE_INCLUDE_PATH=/opt/trinity/include/kde $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + [ ! -f po/Makefile ] || $(MAKE) -C po clean + dpatch deapply-all + rm -rf debian/patched + + ! [ -f /usr/share/libtool/ltmain.sh ] || \ + cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh + ! [ -f /usr/share/libtool/config/ltmain.sh ] || \ + cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh + cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in + + make -f admin/Makefile.common cvs + touch debian/stamp-bootstrap + + [ ! -f Makefile ] || $(MAKE) distclean + rm -f config.log debian/ktechlab.xpm config.sub config.guess + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + env PATH=/opt/trinity/bin:$(PATH) CMAKE_LIBRARY_PATH=/opt/trinity/lib CMAKE_INCLUDE_PATH=/opt/trinity/include/kde $(MAKE) install DESTDIR=$(CURDIR)/debian/ktechlab-trinity + env PATH=/opt/trinity/bin:$(PATH) CMAKE_LIBRARY_PATH=/opt/trinity/lib CMAKE_INCLUDE_PATH=/opt/trinity/include/kde $(MAKE) -C po install DESTDIR=$(CURDIR)/debian/ktechlab-trinity + install -D -m 644 debian/ktechlab.xpm debian/ktechlab-trinity/opt/trinity/share/pixmaps/ktechlab.xpm + chrpath -d $(CURDIR)/debian/ktechlab-trinity/opt/trinity/bin/ktechlab + chrpath -d $(CURDIR)/debian/ktechlab-trinity/opt/trinity/bin/microbe + + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_installmenu + dh_installman + 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 unpatch |