r37225 - in /packages/nlopt/trunk/debian: ./ patches/ source/

trophime-guest at users.alioth.debian.org trophime-guest at users.alioth.debian.org
Thu Jan 20 15:29:55 UTC 2011


Author: trophime-guest
Date: Thu Jan 20 15:29:53 2011
New Revision: 37225

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=37225
Log:
[svn-inject] Applying Debian modifications (2.2.1-1) to trunk

Added:
    packages/nlopt/trunk/debian/   (with props)
    packages/nlopt/trunk/debian/README.Debian
    packages/nlopt/trunk/debian/README.source
    packages/nlopt/trunk/debian/changelog
    packages/nlopt/trunk/debian/compat
    packages/nlopt/trunk/debian/control
    packages/nlopt/trunk/debian/copyright
    packages/nlopt/trunk/debian/docs
    packages/nlopt/trunk/debian/guile-nlopt.debhelper.log
    packages/nlopt/trunk/debian/libnlopt-dev.install
    packages/nlopt/trunk/debian/libnlopt-guile0.install
    packages/nlopt/trunk/debian/libnlopt0.install
    packages/nlopt/trunk/debian/nlopt.debhelper.log
    packages/nlopt/trunk/debian/octave-nlopt.install
    packages/nlopt/trunk/debian/patches/
    packages/nlopt/trunk/debian/patches/configure.patch
    packages/nlopt/trunk/debian/patches/series
    packages/nlopt/trunk/debian/patches/swig.patch
    packages/nlopt/trunk/debian/python-nlopt.install
    packages/nlopt/trunk/debian/pyversions   (with props)
    packages/nlopt/trunk/debian/rules   (with props)
    packages/nlopt/trunk/debian/source/
    packages/nlopt/trunk/debian/source/format
    packages/nlopt/trunk/debian/watch

Propchange: packages/nlopt/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/nlopt/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/README.Debian?rev=37225&op=file
==============================================================================
--- packages/nlopt/trunk/debian/README.Debian (added)
+++ packages/nlopt/trunk/debian/README.Debian Thu Jan 20 15:29:53 2011
@@ -1,0 +1,8 @@
+nlopt for Debian
+----------------
+
+initial build for squeeze
+see http://ab-initio.mit.edu/wiki/index.php/NLopt_manual
+for some examples 
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Mon, 03 Jan 2011 14:26:50 +0100

Added: packages/nlopt/trunk/debian/README.source
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/README.source?rev=37225&op=file
==============================================================================
--- packages/nlopt/trunk/debian/README.source (added)
+++ packages/nlopt/trunk/debian/README.source Thu Jan 20 15:29:53 2011
@@ -1,0 +1,9 @@
+nlopt for Debian
+----------------
+
+<this file describes information about the source package, see Debian policy
+manual section 4.14. You WILL either need to modify or delete this file>
+
+
+
+

Added: packages/nlopt/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/changelog?rev=37225&op=file
==============================================================================
--- packages/nlopt/trunk/debian/changelog (added)
+++ packages/nlopt/trunk/debian/changelog Thu Jan 20 15:29:53 2011
@@ -1,0 +1,5 @@
+nlopt (2.2.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #610623)
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Mon, 03 Jan 2011 14:26:50 +0100

Added: packages/nlopt/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/compat?rev=37225&op=file
==============================================================================
--- packages/nlopt/trunk/debian/compat (added)
+++ packages/nlopt/trunk/debian/compat Thu Jan 20 15:29:53 2011
@@ -1,0 +1,1 @@
+7

Added: packages/nlopt/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/control?rev=37225&op=file
==============================================================================
--- packages/nlopt/trunk/debian/control (added)
+++ packages/nlopt/trunk/debian/control Thu Jan 20 15:29:53 2011
@@ -1,0 +1,114 @@
+Source: nlopt
+Section: devel
+Priority: extra
+Maintainer: Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
+Build-Depends: quilt, debhelper (>= 7.0.50~), autotools-dev, gcc (>= 4.2), g++ (>= 4.2),
+ octave-pkg-dev (>= 0.7.0), python-central (>= 0.5.6), python-all-dev, python-numpy, 
+ guile-1.8, guile-1.8-dev
+Standards-Version: 3.9.1
+XS-Python-Version: >= 2.5
+Homepage: http://ab-initio.mit.edu/wiki/index.php/NLopt
+#Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/nlopt
+#Vcs-Browser: http://svn.debian.org/viewsvn/debian-science/packages/nlopt
+
+Package: libnlopt0
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: nonlinear optimization library
+ NLopt is a free/open-source library for nonlinear optimization, providing 
+ a common interface for a number of different free optimization routines 
+ available online as well as original implementations of various other 
+ algorithms. Its features include:
+ .
+    * Callable from C, C++, Fortran, GNU Octave, Python, GNU Guile, GNU R.
+    * A common interface for many different algorithms
+    * Support for large-scale optimization.
+    * Both global and local optimization algorithms.
+    * Algorithms using function values only (derivative-free) and also 
+    algorithms exploiting user-supplied gradients.
+    * Algorithms for unconstrained optimization, bound-constrained optimization, 
+    and general nonlinear inequality/equality constraints.
+
+Package: libnlopt-dev
+Architecture: any
+Section: libdevel
+Depends: libnlopt0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: nonlinear optimization library - development files
+ NLopt is a free/open-source library for nonlinear optimization, providing 
+ a common interface for a number of different free optimization routines 
+ available online as well as original implementations of various other 
+ algorithms. Its features include:
+ .
+    * Callable from C, C++, Fortran, GNU Octave, Python, GNU Guile, GNU R.
+    * A common interface for many different algorithms
+    * Support for large-scale optimization.
+    * Both global and local optimization algorithms.
+    * Algorithms using function values only (derivative-free) and also 
+    algorithms exploiting user-supplied gradients.
+    * Algorithms for unconstrained optimization, bound-constrained optimization, 
+    and general nonlinear inequality/equality constraints.
+ .
+ This package contains development files for nlopt
+
+Package: python-nlopt
+Architecture: any
+Section: python
+XB-Python-Version: ${python:Versions}
+Depends: libnlopt0, ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
+Provides: ${python:Provides}
+Description: python bindings for nlopt
+ NLopt is a free/open-source library for nonlinear optimization, providing 
+ a common interface for a number of different free optimization routines 
+ available online as well as original implementations of various other 
+ algorithms. Its features include:
+ .
+    * Callable from C, C++, Fortran, GNU Octave, Python, GNU Guile, GNU R.
+    * A common interface for many different algorithms
+    * Support for large-scale optimization.
+    * Both global and local optimization algorithms.
+    * Algorithms using function values only (derivative-free) and also 
+    algorithms exploiting user-supplied gradients.
+    * Algorithms for unconstrained optimization, bound-constrained optimization, 
+    and general nonlinear inequality/equality constraints.
+ .
+ This package contains python bindings for nlopt
+ 
+Package: octave-nlopt
+Architecture: any
+Depends: libnlopt0, ${misc:Depends}, ${shlibs:Depends}, ${octave:Depends} 
+Description: nlopt for octave
+ NLopt is a free/open-source library for nonlinear optimization, providing 
+ a common interface for a number of different free optimization routines 
+ available online as well as original implementations of various other 
+ algorithms. Its features include:
+ .
+    * Callable from C, C++, Fortran, GNU Octave, Python, GNU Guile, GNU R.
+    * A common interface for many different algorithms
+    * Support for large-scale optimization.
+    * Both global and local optimization algorithms.
+    * Algorithms using function values only (derivative-free) and also 
+    algorithms exploiting user-supplied gradients.
+    * Algorithms for unconstrained optimization, bound-constrained optimization, 
+    and general nonlinear inequality/equality constraints.
+ .
+ This package contains nlopt plugins for octave
+
+Package: libnlopt-guile0
+Architecture: any
+Depends: libnlopt0 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}, guile-1.8 
+Description: guile plugins for nlopt
+ NLopt is a free/open-source library for nonlinear optimization, providing 
+ a common interface for a number of different free optimization routines 
+ available online as well as original implementations of various other 
+ algorithms. Its features include:
+ .
+    * Callable from C, C++, Fortran, GNU Octave, Python, GNU Guile, GNU R.
+    * A common interface for many different algorithms
+    * Support for large-scale optimization.
+    * Both global and local optimization algorithms.
+    * Algorithms using function values only (derivative-free) and also 
+    algorithms exploiting user-supplied gradients.
+    * Algorithms for unconstrained optimization, bound-constrained optimization, 
+    and general nonlinear inequality/equality constraints.
+ .
+ This package contains nlopt plugins for guile

Added: packages/nlopt/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/copyright?rev=37225&op=file
==============================================================================
--- packages/nlopt/trunk/debian/copyright (added)
+++ packages/nlopt/trunk/debian/copyright Thu Jan 20 15:29:53 2011
@@ -1,0 +1,53 @@
+This work was packaged for Debian by:
+
+    Christophe Trophime <christophe.trophime at grenoble.cnrs.fr> on Mon, 03 Jan 2011 14:26:50 +0100
+
+It was downloaded from:
+
+    http://ab-initio.mit.edu/wiki/index.php/NLopt
+
+Upstream Author:
+
+    Steven G. Johnson <stevenj at alum.mit.edu>
+
+Copyright:
+
+    Copyright (c) 2007-2010 Massachusetts Institute of Technology
+
+License:
+
+    The NLopt library is under the GNU Lesser General Public License (LGPL), 
+    and the copyrights are owned by a variety of authors.
+
+    In general, the different code in NLopt comes from different sources, 
+    and have a variety of licenses. For example, all of the new code we 
+    wrote for NLopt is under the MIT License (which imposes essentially 
+    no practical restrictions, and is hence compatible with the LGPL). 
+    The combination of all of this software is under the conjunction of 
+    the license terms, and in particular they are limited by the most 
+    restrictive of the licenses for the portions, which in this case 
+    is the LGPL. (The other portions of NLopt are under LGPL-compatible, 
+    less-restrictive licenses like the MIT license. So, if you remove 
+    the LGPL portions, which are currently code by Ladislav Luksan, 
+    the remainder reverts to a looser license.)
+
+    New code written by me for NLopt is 
+    Copyright © 2007-2010 Massachusetts Institute of Technology, 
+    and comes with no warranty:
+
+    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:
+
+    Copyright (C) 2011 Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
+
+
+
+luksan:
+    /usr/share/common-licenses/LGPL-2.1

Added: packages/nlopt/trunk/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/docs?rev=37225&op=file
==============================================================================
--- packages/nlopt/trunk/debian/docs (added)
+++ packages/nlopt/trunk/debian/docs Thu Jan 20 15:29:53 2011
@@ -1,0 +1,3 @@
+NEWS
+README
+TODO

Added: packages/nlopt/trunk/debian/guile-nlopt.debhelper.log
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/guile-nlopt.debhelper.log?rev=37225&op=file
==============================================================================
--- packages/nlopt/trunk/debian/guile-nlopt.debhelper.log (added)
+++ packages/nlopt/trunk/debian/guile-nlopt.debhelper.log Thu Jan 20 15:29:53 2011
@@ -1,0 +1,1 @@
+dh_makeshlibs

Added: packages/nlopt/trunk/debian/libnlopt-dev.install
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/libnlopt-dev.install?rev=37225&op=file
==============================================================================
--- packages/nlopt/trunk/debian/libnlopt-dev.install (added)
+++ packages/nlopt/trunk/debian/libnlopt-dev.install Thu Jan 20 15:29:53 2011
@@ -1,0 +1,3 @@
+usr/include
+usr/lib/libnlopt.so
+usr/lib/libnlopt.a

Added: packages/nlopt/trunk/debian/libnlopt-guile0.install
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/libnlopt-guile0.install?rev=37225&op=file
==============================================================================
--- packages/nlopt/trunk/debian/libnlopt-guile0.install (added)
+++ packages/nlopt/trunk/debian/libnlopt-guile0.install Thu Jan 20 15:29:53 2011
@@ -1,0 +1,4 @@
+usr/lib/libnlopt_guile.so.0.5.1
+usr/lib/libnlopt_guile.so.0
+usr/lib/libnlopt_guile.a
+usr/share/guile/site

Added: packages/nlopt/trunk/debian/libnlopt0.install
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/libnlopt0.install?rev=37225&op=file
==============================================================================
--- packages/nlopt/trunk/debian/libnlopt0.install (added)
+++ packages/nlopt/trunk/debian/libnlopt0.install Thu Jan 20 15:29:53 2011
@@ -1,0 +1,3 @@
+usr/lib/libnlopt.so.0.5.1
+usr/lib/libnlopt.so.0
+usr/share/man/man3/*

Added: packages/nlopt/trunk/debian/nlopt.debhelper.log
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/nlopt.debhelper.log?rev=37225&op=file
==============================================================================
--- packages/nlopt/trunk/debian/nlopt.debhelper.log (added)
+++ packages/nlopt/trunk/debian/nlopt.debhelper.log Thu Jan 20 15:29:53 2011
@@ -1,0 +1,1 @@
+dh_makeshlibs

Added: packages/nlopt/trunk/debian/octave-nlopt.install
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/octave-nlopt.install?rev=37225&op=file
==============================================================================
--- packages/nlopt/trunk/debian/octave-nlopt.install (added)
+++ packages/nlopt/trunk/debian/octave-nlopt.install Thu Jan 20 15:29:53 2011
@@ -1,0 +1,2 @@
+usr/share/octave/packages
+usr/lib/octave/packages

Added: packages/nlopt/trunk/debian/patches/configure.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/patches/configure.patch?rev=37225&op=file
==============================================================================
--- packages/nlopt/trunk/debian/patches/configure.patch (added)
+++ packages/nlopt/trunk/debian/patches/configure.patch Thu Jan 20 15:29:53 2011
@@ -1,0 +1,13 @@
+Index: nlopt-2.2.1/configure.ac
+===================================================================
+--- nlopt-2.2.1.orig/configure.ac	2011-01-20 10:55:46.000000000 +0100
++++ nlopt-2.2.1/configure.ac	2011-01-20 10:56:19.000000000 +0100
+@@ -417,7 +417,7 @@
+ 
+ dnl -----------------------------------------------------------------------
+ 
+-AC_CONFIG_FILES([
++AC_OUTPUT([
+    Makefile
+    nlopt.pc
+    api/Makefile

Added: packages/nlopt/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/patches/series?rev=37225&op=file
==============================================================================
--- packages/nlopt/trunk/debian/patches/series (added)
+++ packages/nlopt/trunk/debian/patches/series Thu Jan 20 15:29:53 2011
@@ -1,0 +1,2 @@
+swig.patch
+configure.patch

Added: packages/nlopt/trunk/debian/patches/swig.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/patches/swig.patch?rev=37225&op=file
==============================================================================
--- packages/nlopt/trunk/debian/patches/swig.patch (added)
+++ packages/nlopt/trunk/debian/patches/swig.patch Thu Jan 20 15:29:53 2011
@@ -1,0 +1,22 @@
+Index: nlopt-2.2.1/swig/Makefile.am
+===================================================================
+--- nlopt-2.2.1.orig/swig/Makefile.am	2011-01-20 10:20:14.000000000 +0100
++++ nlopt-2.2.1/swig/Makefile.am	2011-01-20 10:21:48.000000000 +0100
+@@ -11,7 +11,7 @@
+ libnlopt at NLOPT_SUFFIX@_guile_la_SOURCES = nlopt-guile.cpp
+ libnlopt at NLOPT_SUFFIX@_guile_la_LIBADD = ../libnlopt at NLOPT_SUFFIX@.la
+ libnlopt at NLOPT_SUFFIX@_guile_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@
+-libnlopt at NLOPT_SUFFIX@_guile_la_CPPFLAGS = $(GUILE_CPPFLAGS) -I$(top_builddir)/api
++libnlopt at NLOPT_SUFFIX@_guile_la_CPPFLAGS = $(GUILE_CPPFLAGS) -I$(top_srcdir)/api
+ 
+ guiledir = $(GUILE_INSTALL_DIR)
+ if WITH_GUILE
+@@ -25,7 +25,7 @@
+ _nlopt_la_SOURCES = nlopt-python.cpp
+ _nlopt_la_LIBADD = ../libnlopt at NLOPT_SUFFIX@.la
+ _nlopt_la_LDFLAGS = -module -no-undefined -version-info @SHARED_VERSION_INFO@
+-_nlopt_la_CPPFLAGS = $(PYTHON_INCLUDES) -I$(top_builddir)/api
++_nlopt_la_CPPFLAGS = $(PYTHON_INCLUDES) -I$(top_srcdir)/api
+ 
+ if WITH_PYTHON
+ python_PYTHON = nlopt.py

Added: packages/nlopt/trunk/debian/python-nlopt.install
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/python-nlopt.install?rev=37225&op=file
==============================================================================
--- packages/nlopt/trunk/debian/python-nlopt.install (added)
+++ packages/nlopt/trunk/debian/python-nlopt.install Thu Jan 20 15:29:53 2011
@@ -1,0 +1,1 @@
+usr/lib/python*

Added: packages/nlopt/trunk/debian/pyversions
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/pyversions?rev=37225&op=file
==============================================================================
--- packages/nlopt/trunk/debian/pyversions (added)
+++ packages/nlopt/trunk/debian/pyversions Thu Jan 20 15:29:53 2011
@@ -1,0 +1,1 @@
+2.5-

Propchange: packages/nlopt/trunk/debian/pyversions
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/nlopt/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/rules?rev=37225&op=file
==============================================================================
--- packages/nlopt/trunk/debian/rules (added)
+++ packages/nlopt/trunk/debian/rules Thu Jan 20 15:29:53 2011
@@ -1,0 +1,132 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode. 
+export DH_VERBOSE=1
+
+DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
+  confflags += --build $(DEB_HOST_GNU_TYPE)
+else
+  confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+endif
+
+# CFLAGS is not honoured by the build system.
+CC  ?= gcc
+CXX ?= g++
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+  CC  += -O2
+  CXX += -O2
+endif
+
+PYVERS := $(shell pyversions -vr debian/control)
+
+# The directories below are versioned.  We only support the packages for the
+# stable version of Octave
+octver = 3.2
+mpath = /usr/share/octave/packages/$(octver)
+bpath = /usr/lib/octave/packages/$(octver)
+
+CONFIGURE = \
+	CC="$(CC)" CXX="$(CXX)" ../configure $(confflags) \
+		--prefix=/usr \
+		--enable-shared
+#
+#		--with-cxx
+
+autotools-update-stamp:
+	[ -e bin/scripts ] || mkdir -p bin/scripts
+	QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
+	cp -f /usr/share/misc/config.guess /usr/share/misc/config.sub bin/scripts
+	libtoolize --automake
+	aclocal -Im4
+	autoreconf -i
+	automake
+	touch $@
+
+build-%/config.status: autotools-update-stamp
+	dh_testdir
+	-mkdir build-$*
+	cd build-$* && $(CONFIGURE) PYTHON=/usr/bin/python$* OCT_INSTALL_DIR=$(bpath) M_INSTALL_DIR=$(mpath) GUILE=guile GUILE_CONFIG=guile-config
+
+build: build-stamp
+build-stamp: $(PYVERS:%=build-stamp-%)
+	touch $@
+
+build-stamp-%: build-%/config.status
+	dh_testdir
+	$(MAKE) -C build-$*
+	#
+	# to prevent bug in install due to build-%/config.status being deleted after build targt is done
+	mkdir -p $(CURDIR)/debian/tmp
+	$(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	-rm -rf build*
+	-rm -rf *-stamp
+	-find . -name "*.pyc" -exec rm {} \;
+	-rm bin/scripts/config.guess bin/scripts/config.sub
+	QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	#
+	# to prevent bug in install due to build-%/config.status being deleted after build targt is done
+	dh_prep --exclude=debian/tmp
+	find . -name "*.pyc" -exec rm {} \;
+	#
+	# Fix unstripped-binary-or-object
+	strip  --strip-unneeded $(CURDIR)/debian/tmp/usr/lib/libnlopt.so.0.5.1
+	strip  --strip-unneeded $(CURDIR)/debian/tmp/usr/lib/libnlopt_guile.so.0.5.1
+	find $(CURDIR)/debian/tmp/usr/lib -name _\*.so | xargs strip --strip-unneeded 
+	strip  --strip-unneeded $(CURDIR)/debian/tmp/usr/lib/octave/packages/3.2/nlopt_optimize.oct
+	dh_install --sourcedir=debian/tmp --list-missing
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installdirs -i
+	dh_installdocs -i
+	dh_installexamples -i
+	dh_installman -i
+	dh_installchangelogs -i
+	dh_link -i
+	dh_compress -i -X.pdf
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installdirs -a
+	dh_installdocs -a
+	dh_installexamples -a
+	dh_installman -a
+	dh_installchangelogs -a
+	dh_link -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_makeshlibs -p libnlopt0
+	dh_makeshlibs -p libnlopt-guile0
+	dh_pycentral -ppython-nlopt
+	dh_installdeb -a
+	octave-depends
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure

Propchange: packages/nlopt/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/nlopt/trunk/debian/source/format
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/source/format?rev=37225&op=file
==============================================================================
--- packages/nlopt/trunk/debian/source/format (added)
+++ packages/nlopt/trunk/debian/source/format Thu Jan 20 15:29:53 2011
@@ -1,0 +1,1 @@
+3.0 (quilt)

Added: packages/nlopt/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/nlopt/trunk/debian/watch?rev=37225&op=file
==============================================================================
--- packages/nlopt/trunk/debian/watch (added)
+++ packages/nlopt/trunk/debian/watch Thu Jan 20 15:29:53 2011
@@ -1,0 +1,2 @@
+version=3
+http://ab-initio.mit.edu/nlopt/nlopt-(.*)\.tar\.gz




More information about the debian-science-commits mailing list