remove java support

This commit is contained in:
Jérôme Schneider 2015-02-25 18:17:28 +01:00
parent c54dbab12b
commit 2f90b99650
4 changed files with 1 additions and 132 deletions

View File

@ -1,97 +0,0 @@
Source: lasso
Priority: optional
Section: libs
Maintainer: Frederic Peters <fpeters@debian.org>
Build-Depends: debhelper (>= 5.0.37.2), libxml2-dev, libxslt1-dev, libxmlsec1-dev, libxmlsec1-openssl, libglib2.0-dev, python-all-dev (>= 2.6), python3-all-dev (>= 3.2), libexpat1-dev, fastjar, php5-dev, python-lxml, python3-lxml, python-six, python3-six, chrpath
X-Python-Version: >= 2.6
X-Python3-Version: >= 3.2
Standards-Version: 3.8.0
Homepage: http://lasso.entrouvert.org
Package: liblasso3-dev
Section: libdevel
Architecture: any
Depends: liblasso3 (= ${binary:Version}), libxml2-dev, libxmlsec1-dev, libglib2.0-dev
Provides: liblasso-dev
Conflicts: liblasso-dev, liblasso0, liblasso1
Description: Library for Liberty Alliance and SAML protocols - development kit
Lasso is an implementation of Liberty Alliance and related protocols, for
network identity federations, single sign-on and other web services protocols.
The main specifications implemented by the library are ID-FF, ID-WSF and SAML.
.
This package contains the development files for Lasso.
Package: liblasso3
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Library for Liberty Alliance and SAML protocols - runtime library
Lasso is an implementation of Liberty Alliance and related protocols, for
network identity federations, single sign-on and other web services protocols.
The main specifications implemented by the library are ID-FF, ID-WSF and SAML.
.
This package contains liblasso library used by applications to gain Library
Alliance support.
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}
Description: Library for Liberty Alliance and SAML protocols - Python bindings
Lasso is an implementation of Liberty Alliance and related protocols, for
network identity federations, single sign-on and other web services protocols.
The main specifications implemented by the library are ID-FF, ID-WSF and SAML.
.
This package contains Python bindings for liblasso, needed to use lasso
in Python applications.
Package: python3-lasso
Section: python
Architecture: any
Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:depends}
Description: Library for Liberty Alliance and SAML protocols - Python bindings
Lasso is an implementation of Liberty Alliance and related protocols, for
network identity federations, single sign-on and other web services protocols.
The main specifications implemented by the library are ID-FF, ID-WSF and SAML.
.
This package contains Python bindings for liblasso, needed to use lasso
in Python applications.
#JAVA#Package: liblasso-java
#JAVA#Section: libs
#JAVA#Architecture: amd64 armel i386 ia64 mips mipsel powerpc ppc64 s390 sparc kfreebsd-i386 kfreebsd-amd64
#JAVA#Depends: ${shlibs:Depends}, ${misc:depends}
#JAVA#Description: Library for Liberty Alliance and SAML protocols - Java bindings
#JAVA# Lasso is an implementation of Liberty Alliance and related protocols, for
#JAVA# network identity federations, single sign-on and other web services protocols.
#JAVA# The main specifications implemented by the library are ID-FF, ID-WSF and SAML.
#JAVA# .
#JAVA# This package provides the Java interface to liblasso, needed to use lasso in
#JAVA# Java applications.
Package: liblasso-perl
Section: perl
Architecture: any
Depends: ${shlibs:Depends}, ${misc:depends}, ${perl:Depends}
Description: Library for Liberty Alliance and SAML protocols - Perl bindings
Lasso is an implementation of Liberty Alliance and related protocols, for
network identity federations, single sign-on and other web services protocols.
The main specifications implemented by the library are ID-FF, ID-WSF and SAML.
.
This package contains Perl bindings for liblasso, needed to use lasso
in Perl applications.
Package: php5-lasso
Section: web
Architecture: any
Depends: ${shlibs:Depends}, ${php:Depends}, ${misc:depends}
Description: Library for Liberty Alliance and SAML protocols - PHP 5 bindings
Lasso is an implementation of Liberty Alliance and related protocols, for
network identity federations, single sign-on and other web services protocols.
The main specifications implemented by the library are ID-FF, ID-WSF and SAML.
.
This package contains PHP bindings for liblasso, needed to use lasso
in PHP applications.

View File

@ -1 +0,0 @@
usr/lib/jni/

View File

@ -1,2 +0,0 @@
debian/tmp/usr/lib/jni/*.so
debian/tmp/usr/share/java/*.jar

33
rules
View File

@ -15,16 +15,6 @@ DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
DEB_TARGET_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
with_java := no
no_java_archs := alpha arm hppa hurd-i386
ifneq ($(DEB_TARGET_ARCH),i386)
ifneq ($(DEB_TARGET_ARCH),amd64)
ifeq ($(DEB_TARGET_ARCH), $(findstring $(DEB_TARGET_ARCH),$(no_java_archs)))
with_java := disabled for architecture $(DEB_TARGET_ARCH)
endif
endif
endif
PYDEF := $(shell pyversions -vd)
PYVERS := $(shell pyversions -vr debian/control)
PY3VERS := $(shell py3versions -vr '>= 3.0')
@ -51,14 +41,9 @@ CONFIGURE_ARGS := \
--enable-tests=no \
--disable-gtk-doc \
--enable-perl \
--disable-java \
--with-php5-config-dir=/etc/php5/mods-available/
ifeq ($(with_java),yes)
CONFIGURE_ARGS += --enable-java
else
CONFIGURE_ARGS += --disable-java
endif
config.status: configure
dh_testdir
@ -96,13 +81,6 @@ clean:
dh_testroot
rm -f build-stamp
ifeq ($(with_java),yes)
sed -e 's/^#JAVA#//' < debian/control.in > debian/control
else
sed -e 's/^#JAVA#.*//' < debian/control.in > debian/control
endif
[ ! -f Makefile ] || $(MAKE) distclean
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub
@ -140,15 +118,6 @@ install: build
$(MAKE) -C bindings/python$$v install DESTDIR=$(CURDIR)/debian/tmp; \
done
mkdir $(CURDIR)/debian/tmp/usr/lib/jni/
if [ -e $(CURDIR)/debian/tmp/usr/lib/java ]; then \
mv $(CURDIR)/debian/tmp/usr/lib/java/*.so $(CURDIR)/debian/tmp/usr/lib/jni/ ; \
fi
# remove id-wsf directory if it is empty
-rmdir $(CURDIR)/debian/tmp/usr/include/lasso/id-wsf/
# Build architecture-independent files here.
binary-indep: build install
#dh_makeclilibs -L liblasso-cil -r