[SCM] Simage. Generic interface to various image file format libraries. branch, master, updated. debian/1.7.0-1.1-11-gf43646d

Anton Gladky gladky.anton at gmail.com
Thu Jun 6 07:54:34 UTC 2013


The following commit has been merged in the master branch:
commit 697b65e660e75b31a54516ae2d10c58ce20342f2
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Wed Jun 5 23:07:18 2013 +0200

    Move to debhelper.

diff --git a/debian/control b/debian/control
index 85290e7..7d73f1d 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,8 @@ Vcs-Browser: http://git.debian.org/?p=debian-science/packages/simage.git
 Homepage: https://bitbucket.org/Coin3D/simage
 Section: graphics
 Priority: optional
-Build-Depends: cdbs, autotools-dev, debhelper (>= 9), libgif-dev, libjpeg-dev, zlib1g-dev, libpng12-dev, libtiff4-dev, libvorbis-dev, libsndfile1-dev
+Build-Depends: debhelper (>= 9), libgif-dev, libjpeg-dev, zlib1g-dev, 
+ libpng12-dev, libtiff4-dev, libvorbis-dev, libsndfile1-dev, dh-autoreconf
 Standards-Version: 3.8.3
 
 Package: libsimage20
diff --git a/debian/libsimage-dev.install b/debian/libsimage-dev.install
new file mode 100644
index 0000000..bd2552e
--- /dev/null
+++ b/debian/libsimage-dev.install
@@ -0,0 +1,4 @@
+usr/lib/*/lib*.so
+usr/include
+usr/bin
+usr/share/Coin
diff --git a/debian/libsimage20.install b/debian/libsimage20.install
new file mode 100644
index 0000000..3ddde58
--- /dev/null
+++ b/debian/libsimage20.install
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7f723ae
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_configure-shared-static.patch
diff --git a/debian/rules b/debian/rules
index 0b5c011..d950b83 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,24 +1,18 @@
-#! /usr/bin/make -f
+#!/usr/bin/make -f
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+%:
+	dh $@ --parallel
 
-DEB_AC_AUX_DIR = $(DEB_SRCDIR)/cfg
-DEB_CONFIGURE_EXTRA_FLAGS = --enable-static --with-targa --with-rgb --with-pic --with-xwd --with-eps --without-mpeg2enc
-DEB_MAKE_BUILD_TARGET = all 
-DEB_MAKE_CHECK_TARGET = check
 
-install/libsimage20::
-	dh_install -plibsimage20 --autodest debian/tmp/usr/lib/lib*.so.*
+extra_flags = \
+   --enable-static \
+	 --with-targa \
+	 --with-rgb \
+	 --with-pic \
+	 --with-xwd \
+	 --with-eps \
+	 --without-mpeg2enc
+
+override_dh_auto_configure:
+	dh_auto_configure -- $(extra_flags)
 
-install/libsimage-dev::
-	sed -i "s/^dependency_libs=.*/dependency_libs=''/" debian/tmp/usr/lib/libsimage.la
-	dh_install -plibsimage-dev --autodest debian/tmp/usr/lib/lib*.so
-	dh_install -plibsimage-dev --autodest debian/tmp/usr/lib/lib*.a
-	dh_install -plibsimage-dev --autodest debian/tmp/usr/lib/lib*.la
-	dh_install -plibsimage-dev --autodest debian/tmp/usr/include
-	dh_install -plibsimage-dev --autodest debian/tmp/usr/bin/simage-config
-	dh_install -plibsimage-dev --autodest debian/tmp/usr/share/Coin
-	dh_install -plibsimage-dev --autodest debian/tmp/usr/share/aclocal
-	dh_installman -plibsimage-dev debian/simage-config.1

-- 
Simage. Generic interface to various image file format libraries.



More information about the debian-science-commits mailing list