--- lasso-2.0.0.orig/configure.ac +++ lasso-2.0.0/configure.ac @@ -388,7 +388,7 @@ fi PHP4_INCLUDES="-I/usr/local/include/php4 -I/usr/local/include/php4/main -I/usr/local/include/php4/Zend -I/usr/local/include/php4/TSRM -I/usr/local/include/php4/win32" PHP4_LDFLAGS= - PHP4_LIBS=-lphp4ts -lxmlparse -lxmltok + PHP4_LIBS="-lphp4ts -lxmlparse -lxmltok" PHP4_UNPREFIXED_EXTENSION_DIR= PHP4_PREFIX= fi @@ -461,7 +461,7 @@ fi PHP5_INCLUDES="-I/usr/local/include/php5 -I/usr/local/include/php5/main -I/usr/local/include/php5/Zend -I/usr/local/include/php5/TSRM -I/usr/local/include/php5/win32" PHP5_LDFLAGS= - PHP5_LIBS=-lphp5ts -lxmlparse -lxmltok + PHP5_LIBS="-lphp5ts -lxmlparse -lxmltok" PHP5_UNPREFIXED_EXTENSION_DIR= PHP5_PREFIX= fi --- lasso-2.0.0.orig/config.sub +++ lasso-2.0.0/config.sub @@ -4,7 +4,7 @@ # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. -timestamp='2006-09-20' +timestamp='2007-01-18' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -245,12 +245,12 @@ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ - | fr30 | frv \ + | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ - | maxq | mb | microblaze | mcore \ + | maxq | mb | microblaze | mcore | mep \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ @@ -324,7 +324,7 @@ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ - | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ @@ -925,6 +925,9 @@ basic_machine=sh-hitachi os=-hms ;; + sh5el) + basic_machine=sh5le-unknown + ;; sh64) basic_machine=sh64-unknown ;; @@ -1219,7 +1222,7 @@ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers*) + | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1414,6 +1417,9 @@ m68*-cisco) os=-aout ;; + mep-*) + os=-elf + ;; mips*-cisco) os=-elf ;; --- lasso-2.0.0.orig/config.guess +++ lasso-2.0.0/config.guess @@ -4,7 +4,7 @@ # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. -timestamp='2006-07-02' +timestamp='2007-03-06' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -161,6 +161,7 @@ arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; + sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched @@ -780,7 +781,7 @@ i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; - i*:MINGW*:*) + *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:windows32*:*) @@ -790,12 +791,15 @@ i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; - x86:Interix*:[3456]*) - echo i586-pc-interix${UNAME_RELEASE} - exit ;; - EM64T:Interix*:[3456]*) - echo x86_64-unknown-interix${UNAME_RELEASE} - exit ;; + *:Interix*:[3456]*) + case ${UNAME_MACHINE} in + x86) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + EM64T | authenticamd) + echo x86_64-unknown-interix${UNAME_RELEASE} + exit ;; + esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; @@ -950,6 +954,9 @@ x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; + xtensa:Linux:*:*) + echo xtensa-unknown-linux-gnu + exit ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent @@ -1208,6 +1215,15 @@ SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; + SX-7:SUPER-UX:*:*) + echo sx7-nec-superux${UNAME_RELEASE} + exit ;; + SX-8:SUPER-UX:*:*) + echo sx8-nec-superux${UNAME_RELEASE} + exit ;; + SX-8R:SUPER-UX:*:*) + echo sx8r-nec-superux${UNAME_RELEASE} + exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; --- lasso-2.0.0.orig/configure +++ lasso-2.0.0/configure @@ -21224,7 +21224,7 @@ fi PHP4_INCLUDES="-I/usr/local/include/php4 -I/usr/local/include/php4/main -I/usr/local/include/php4/Zend -I/usr/local/include/php4/TSRM -I/usr/local/include/php4/win32" PHP4_LDFLAGS= - PHP4_LIBS=-lphp4ts -lxmlparse -lxmltok + PHP4_LIBS="-lphp4ts -lxmlparse -lxmltok" PHP4_UNPREFIXED_EXTENSION_DIR= PHP4_PREFIX= fi @@ -21455,7 +21455,7 @@ fi PHP5_INCLUDES="-I/usr/local/include/php5 -I/usr/local/include/php5/main -I/usr/local/include/php5/Zend -I/usr/local/include/php5/TSRM -I/usr/local/include/php5/win32" PHP5_LDFLAGS= - PHP5_LIBS=-lphp5ts -lxmlparse -lxmltok + PHP5_LIBS="-lphp5ts -lxmlparse -lxmltok" PHP5_UNPREFIXED_EXTENSION_DIR= PHP5_PREFIX= fi --- lasso-2.0.0.orig/debian/pycompat +++ lasso-2.0.0/debian/pycompat @@ -0,0 +1 @@ +2 --- lasso-2.0.0.orig/debian/liblasso3.files +++ lasso-2.0.0/debian/liblasso3.files @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- lasso-2.0.0.orig/debian/liblasso-cil.files +++ lasso-2.0.0/debian/liblasso-cil.files @@ -0,0 +1,7 @@ +usr/lib/liblassosharpglue.so +usr/lib/liblassosharpglue.la +usr/lib/pkgconfig/lasso-sharp.pc +usr/share/dotnet/lasso/lasso.dll +usr/share/dotnet/lasso/lasso.dll.config +usr/lib/mono/gac/ +usr/lib/mono/lasso/ --- lasso-2.0.0.orig/debian/docs +++ lasso-2.0.0/debian/docs @@ -0,0 +1,2 @@ +README +AUTHORS --- lasso-2.0.0.orig/debian/changelog +++ lasso-2.0.0/debian/changelog @@ -0,0 +1,215 @@ +lasso (2.0.0-1ubuntu1) gutsy; urgency=low + + * Merge from debian unstable. Remaining changes: + + debian/control: + - Modify Maintainer value to match DebianMaintainerField spec. + * debian/rules: + + Add CC=gcc-4.2 to the configure call else configure won't find jni.h + from libgcj8-dev. + * configure{,.ac}: + + Add missing quotes around the value for PHP[45]_LIBS. + + -- Michael Bienia Tue, 31 Jul 2007 21:35:26 +0200 + +lasso (2.0.0-1) unstable; urgency=low + + * New upstream release. + * debian/control: removes php4-lasso since PHP4 is no longer provided. + (closes: #432422, #418268) + + -- Frederic Peters Mon, 09 Jul 2007 22:55:58 +0200 + +lasso (0.6.5-3ubuntu2) feisty; urgency=low + + * Don't build a php4 module anymore. + * debian/control: Rename Original-Maintainer to XSBC-Original-Maintainer. + + -- Michael Bienia Tue, 13 Mar 2007 19:46:55 +0100 + +lasso (0.6.5-3ubuntu1) feisty; urgency=low + + * Rebuild because of PHP4 API change + * debian/rules: + - changed php-config to php-config4 + * debian/control: + - Added Ubuntu MOTU Maintainer field + - Moved old Maintainer field to Original-Maintainer + + -- Stephan Hermann Tue, 6 Mar 2007 18:04:09 +0100 + +lasso (0.6.5-3) unstable; urgency=low + + * Converted to new Python policy (merged from unreported Ubuntu patch) + * debian/control: keep conflict on python2.4-lasso which is unnecessary + for Debian but will reduce Ubuntu changes. + + -- Frederic Peters Sat, 21 Oct 2006 17:31:47 +0200 + +lasso (0.6.5-2) unstable; urgency=low + + * debian/control: adding libgcj-dev and fastjar to build-depends since + liblasso-java is now built. + + -- Frederic Peters Wed, 22 Mar 2006 11:06:56 +0100 + +lasso (0.6.5-1) unstable; urgency=low + + * New upstream release. + * Incorporates Ubuntu patch for phpapi version. + + -- Frederic Peters Tue, 21 Mar 2006 10:48:05 +0100 + +lasso (0.6.4-1) unstable; urgency=low + + * New upstream release. + + -- Frederic Peters Mon, 13 Mar 2006 11:38:09 +0100 + +lasso (0.6.3-4) unstable; urgency=low + + * debian/control: removed mono packages from build-depends since the -cil + package is no longer built. + + -- Frederic Peters Thu, 6 Oct 2005 14:18:56 +0200 + +lasso (0.6.3-3) unstable; urgency=low + + * debian/control: fixed php depends line. (closes: #331710) + + -- Frederic Peters Tue, 4 Oct 2005 22:59:17 +0200 + +lasso (0.6.3-2) unstable; urgency=low + + * php/Makefile.am: don't patch autogenerated swig file if swig was not + present (which implies the file has already been patched) + * debian/rules: touch swig generated files after configure so swig is + not called; even if available. (closes: #331699) + + -- Frederic Peters Tue, 4 Oct 2005 21:52:25 +0200 + +lasso (0.6.3-1) unstable; urgency=low + + * New upstream release. + * debian/copyright: new FSF address. + + -- Frederic Peters Fri, 30 Sep 2005 01:07:49 +0200 + +lasso (0.6.2-3) unstable; urgency=low + + * debian/control: removed liblasso-cil package since the .net assembly + doesn't work (and don't even compile anymore) (closes: #320898) + + -- Frederic Peters Fri, 19 Aug 2005 23:08:43 +0200 + +lasso (0.6.2-2) unstable; urgency=low + + * debian/rules: removed call to dh_makenetshlibs which is no longer shipped + with Mono 1.1 packages. (closes: #311837) + * debian/control, debian/rules: updated to new CLI policy. + + -- Frederic Peters Fri, 3 Jun 2005 20:15:12 +0200 + +lasso (0.6.2-1) unstable; urgency=low + + * New upstream release. + + -- Frederic Peters Thu, 26 May 2005 11:56:42 +0200 + +lasso (0.6.1-3) unstable; urgency=low + + * debian/control: fixed Depends line, this is no longer -zts. + * debian/control: updated Build-depends to php4-dev (>= 4:4.3.10-10) + (closes: #301330) + + -- Frederic Peters Fri, 25 Mar 2005 10:15:22 +0100 + +lasso (0.6.1-2) unstable; urgency=low + + * Rebuilt with PHP Zend Thread Safety disabled. + * lasso/xml/lib_authn_request.c, lasso/id-ff/login.c: backported + AssertionConsumerServiceID fix from CVS. + * python/lasso_wrap.c, python/lasso.py: regenerated with SWIG 1.3.22; + 1.3.24 created a buggy binding. + * debian/control: Build-depends on mono-utils (>= 1.0) + + -- Frederic Peters Fri, 25 Mar 2005 08:50:39 +0100 + +lasso (0.6.1-1) unstable; urgency=low + + * New upstream release. + * lasso/id-ff/login.c: backported SAML 1.0 compatibility fix from CVS. + + -- Frederic Peters Sun, 6 Mar 2005 14:07:45 +0100 + +lasso (0.6.0-1) unstable; urgency=low + + * New upstream release. + * Rebuilt with new PHP API. (closes: #294003) + + -- Frederic Peters Tue, 8 Feb 2005 13:42:24 +0100 + +lasso (0.4.1-3) unstable; urgency=low + + * debian/control: added libexpat1-dev to build-depends; it is required for + the PHP binding. + + -- Frederic Peters Mon, 13 Sep 2004 09:26:34 +0200 + +lasso (0.4.1-2) unstable; urgency=low + + * debian/control: added python to build-depends + + -- Frederic Peters Sun, 12 Sep 2004 21:40:57 +0200 + +lasso (0.4.1-1) unstable; urgency=low + + * New upstream release. + + -- Frederic Peters Wed, 8 Sep 2004 10:40:56 +0200 + +lasso (0.4.0-1) unstable; urgency=low + + * New upstream release. + * changed soname, liblasso0 -> liblasso1 + * Packaging of PHP4 binding and .NET assemblies. + + -- Frederic Peters Mon, 6 Sep 2004 19:18:38 +0200 + +lasso (0.3.0-6) unstable; urgency=low + + * debian/control: improved package description (closes: #266556) + * python/: backported fix to use libtool correctly; should fix the build + failures on hppa and amd64 (closes: #267556, #268198) + + -- Frederic Peters Thu, 26 Aug 2004 17:01:13 +0200 + +lasso (0.3.0-4) unstable; urgency=low + + * debian/copyright: fixed address of the FSF; add a pointer to + /usr/share/common-licenses/GPL. + * debian/control: lasso source package goes in section libs and liblasso-dev + goes in section libdevel + * debian/control: -dev package renamed to liblasso0-dev; provides + liblasso-dev (per Debian Library Packaging guide) + + -- Frederic Peters Sun, 8 Aug 2004 10:55:39 +0200 + +lasso (0.3.0-3) unstable; urgency=low + + * fixed lasso.pc + + -- Frederic Peters Thu, 29 Jul 2004 23:24:57 +0200 + +lasso (0.3.0-2) unstable; urgency=low + + * debian/liblasso0-python2.3.files: don't include static library in Python + package. [brown bag] + + -- Frederic Peters Tue, 27 Jul 2004 17:23:07 +0200 + +lasso (0.3.0-1) unstable; urgency=low + + * Initial Release. + + -- Frederic Peters Tue, 27 Jul 2004 16:50:43 +0200 + --- lasso-2.0.0.orig/debian/control +++ lasso-2.0.0/debian/control @@ -0,0 +1,71 @@ +Source: lasso +Priority: optional +Section: libs +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Frederic Peters +Build-Depends: debhelper (>= 5.0.37.2), libxml2-dev, libxslt1-dev, libxmlsec1-dev, libxmlsec1-openssl, libglib2.0-dev, python-all-dev (>= 2.3.5-11), libexpat1-dev, libgcj-dev, fastjar, python-central (>= 0.5) +XS-Python-Version: all +Standards-Version: 3.7.2 + +Package: liblasso3-dev +Section: libdevel +Architecture: any +Depends: liblasso3 (= ${Source-Version}), libxml2-dev, libxmlsec1-dev, libglib2.0-dev +Provides: liblasso-dev +Conflicts: liblasso-dev, liblasso0, liblasso1 +Description: Liberty ID-FF library - development kit + Lasso is an implementation of the Liberty Identity Federation specifications + defined by the Liberty Alliance consortium. They defines processes such as + network identity federation and single sign-on. + . + This package contains the development files for Lasso. + . + Homepage: http://lasso.entrouvert.org + + +Package: liblasso3 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Liberty ID-FF library - runtime library + Lasso is an implementation of the Liberty Identity Federation specifications + defined by the Liberty Alliance consortium. They defines processes such as + network identity federation and single sign-on. + . + This package contains liblasso library used by applications to gain Library + Alliance support. + . + Homepage: http://lasso.entrouvert.org + +Package: python-lasso +Conflicts: liblasso0-python2.3, python2.3-lasso, python2.4-lasso +Replaces: liblasso0-python2.3, python2.3-lasso, python2.4-lasso +Provides: liblasso0-python2.3, ${python:Provides} +Section: python +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:depends} +XB-Python-Version: ${python:Versions} +Description: Liberty ID-FF library - Python bindings + Lasso is an implementation of the Liberty Identity Federation specifications + defined by the Liberty Alliance consortium. They defines processes such as + network identity federation and single sign-on. + . + This package contains Python bindings for liblasso, needed to use lasso + in Python applications. + . + Homepage: http://lasso.entrouvert.org + +Package: liblasso-java +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:depends} +Description: Liberty ID-FF library - Java bindings + Lasso is an implementation of the Liberty Identity Federation specifications + defined by the Liberty Alliance consortium. They defines processes such as + network identity federation and single sign-on. + . + This package provides the Java interface to liblasso, needed to use lasso in + Java applications. + . + Homepage: http://lasso.entrouvert.org + --- lasso-2.0.0.orig/debian/liblasso3-dev.dirs +++ lasso-2.0.0/debian/liblasso3-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include --- lasso-2.0.0.orig/debian/copyright +++ lasso-2.0.0/debian/copyright @@ -0,0 +1,44 @@ +This package was debianized by Frederic Peters on +Fri, 16 Jul 2004 14:50:19 +0200. + +It was downloaded from http://lasso.entrouvert.org + +Upstream Authors: + + Nicolas Clapies + Valery Febvre + (complete list in AUTHORS) + + +Copyright (c) 2004 Entr'ouvert +Excepted the Lasso logo, copyright (c) 2004, Entr'ouvert & Florent Monnier + +License is GNU GPL v2 or later plus OpenSSL exception clause. + +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. + +In addition, as a special exception, Entr'ouvert gives permission to link +the code of its release of Lasso with the OpenSSL project's "OpenSSL" +library (or with modified versions of it that use the same license as the +"OpenSSL" library), and distribute the linked executables. You must obey +the GNU General Public License in all respects for all of the code used +other than "OpenSSL". If you modify this file, you may extend this +exception to your version of the file, but you are not obligated to do so. +If you do not wish to do so, delete this exception statement from your +version. + +On Debian GNU/Linux systems, the complete text of the GNU General Public +License can be found in `/usr/share/common-licenses/GPL'. + --- lasso-2.0.0.orig/debian/liblasso3-dev.files +++ lasso-2.0.0/debian/liblasso3-dev.files @@ -0,0 +1,5 @@ +usr/include/lasso +usr/lib/liblasso.a +usr/lib/liblasso.so +usr/lib/liblasso.la +usr/lib/pkgconfig/lasso.pc --- lasso-2.0.0.orig/debian/python-lasso.files +++ lasso-2.0.0/debian/python-lasso.files @@ -0,0 +1,3 @@ +usr/lib/python*/site-packages/*.py +usr/lib/python*/site-packages/*.so + --- lasso-2.0.0.orig/debian/compat +++ lasso-2.0.0/debian/compat @@ -0,0 +1 @@ +4 --- lasso-2.0.0.orig/debian/liblasso-java.files +++ lasso-2.0.0/debian/liblasso-java.files @@ -0,0 +1,2 @@ +usr/lib/jni/*.so +usr/share/java/*.jar --- lasso-2.0.0.orig/debian/liblasso-java.dirs +++ lasso-2.0.0/debian/liblasso-java.dirs @@ -0,0 +1 @@ +usr/lib/jni/ --- lasso-2.0.0.orig/debian/liblasso3.dirs +++ lasso-2.0.0/debian/liblasso3.dirs @@ -0,0 +1 @@ +usr/lib --- lasso-2.0.0.orig/debian/dirs +++ lasso-2.0.0/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- lasso-2.0.0.orig/debian/rules +++ lasso-2.0.0/debian/rules @@ -0,0 +1,127 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# 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) + +PYDEF := $(shell pyversions -vd) +PYVERS := $(shell pyversions -vr debian/control) +OTHERPYVERS := $(filter-out $(PYDEF), $(PYVERS)) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +version=`ls src/.libs/lib*.so.* | \ + awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +major=`ls src/.libs/lib*.so.* | \ + awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +config.status: configure + dh_testdir + # Add here commands to configure the package. + CC=gcc-4.2 CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-tests=no --disable-gtk-doc --disable-perl --disable-csharp --disable-php4 + # be sure not to call swig: + touch python/lasso_wrap.c python/lasso.py + touch perl/lasso_wrap.c perl/lasso.pm + touch java/lasso_wrap.c java/lasso.java + + +build: build-stamp +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + set -e; \ + for v in $(OTHERPYVERS); do \ + rm -rf python$$v; \ + cp -a python python$$v; \ + sed "s/$(PYDEF)/$$v/g" python/Makefile > python$$v/Makefile; \ + $(MAKE) -C python$$v clean; \ + $(MAKE) -C python$$v; \ + done + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean +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 + + for v in $(OTHERPYVERS); do \ + rm -rf python$$v; \ + done + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp \ + GACUTIL="/usr/bin/gacutil -root $(CURDIR)/debian/tmp/usr/lib" + set -e; \ + for v in $(OTHERPYVERS); do \ + $(MAKE) -C python$$v install DESTDIR=$(CURDIR)/debian/tmp; \ + done + + mkdir $(CURDIR)/debian/tmp/usr/lib/jni/ + mv $(CURDIR)/debian/tmp/usr/lib/java/*.so $(CURDIR)/debian/tmp/usr/lib/jni/ + + +# Build architecture-independent files here. +binary-indep: build install + #dh_makeclilibs -L liblasso-cil -r + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples -XCVS + dh_installman + dh_movefiles + dh_link + dh_strip + dh_pycentral -ppython-lasso + dh_python + dh_compress + dh_fixperms + dh_makeshlibs -a -V + dh_installdeb + dh_shlibdeps -a + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install