[SCM] libmapper/master: Updating rules

tiago at users.alioth.debian.org tiago at users.alioth.debian.org
Tue Oct 28 05:30:51 UTC 2014


The following commit has been merged in the master branch:
commit 115e1f0bcc300d3108f181553794dd598342f6e2
Author: Tiago Bortoletto Vaz <tiago at debian.org>
Date:   Tue Oct 28 00:29:22 2014 -0400

    Updating rules

diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 9417cbb..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,73 +0,0 @@
-*.o
-*.class
-*.a
-*.la
-*.lo
-*.so
-*.dylib
-*.dll
-*.pyc
-Makefile.in
-Makefile
-.deps
-.libs
-ChangeLog
-README
-aclocal.m4
-autom4te.cache
-compile
-config.guess
-config.log
-config.status
-config.sub
-configure
-depcomp
-install-sh
-libtool
-ltmain.sh
-missing
-doc/doxygen-build.stamp
-doc/html/
-doc/latex/
-doc/libmapper.doxyfile
-examples/pwm_example
-examples/py_tk_gui/pwm.py
-examples/py_tk_gui/setup.py
-jni/Mapper/NativeLib.java
-jni/Mapper_Db_Signal.h
-jni/Mapper_Device.h
-jni/Mapper_Device_Signal.h
-jni/libmapper-0.jar
-libmapper-0.2.tar.gz
-libmapper-0.pc
-libmapper.pc
-m4/libtool.m4
-m4/ltoptions.m4
-m4/ltsugar.m4
-m4/ltversion.m4
-m4/lt~obsolete.m4
-src/config.h
-src/config.h.in
-src/stamp-h1
-swig/build/
-swig/installed_files.log
-swig/mapper.py
-swig/mapper_wrap.c
-swig/setup.py
-test/test
-test/testadmin
-test/testdb
-test/testdynamic
-test/testexpression
-test/testinstance
-test/testlinear
-test/testmany
-test/testmonitor
-test/testparams
-test/testparser
-test/testprops
-test/testquery
-test/testrecv
-test/testsend
-test/testvector
-
diff --git a/debian/control b/debian/control
index bad8b59..2219861 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Homepage: http://libmapper.org
 Vcs-Browser: http://git.debian.org/?p=pkg-multimedia/libmapper.git
 Vcs-Git: git://git.debian.org/git/pkg-multimedia/libmapper.git
 
-Package: libmapper0
+Package: libmapper
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}, ${shlibs:Depends}
diff --git a/debian/libmapper.install b/debian/libmapper.install
new file mode 100644
index 0000000..787e893
--- /dev/null
+++ b/debian/libmapper.install
@@ -0,0 +1 @@
+usr/lib/*/libmapper-*.so*
diff --git a/debian/rules b/debian/rules
index 5934b86..71d3777 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,8 +2,55 @@
 
 #CXXFLAGS += -D__STDC_CONSTANT_MACROS
 
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+INSTALL_FLAGS := DESTDIR=$(CURDIR)/debian/tmp INSTALL_PREFIX=/usr
+
 %:
 	dh $@ --with autoreconf
 
 override_dh_autoreconf:
-	dh_autoreconf ./autogen.sh
+	NOCONFIGURE=True ./autogen.sh
+
+override_dh_auto_configure:
+	dh_auto_configure -- --prefix=/usr
+
+override_dh_auto_install:
+	dh_auto_install
+	$(MAKE) install $(INSTALL_FLAGS)
+
+override_dh_auto_clean:
+	dh_auto_clean
+	$(RM) NEWS \
+	Makefile.in \
+	ChangeLog \
+	README \
+	aclocal.m4 \
+	compile \
+	config.guess \
+	config.sub \
+	configure \
+	depcomp \
+	doc/Makefile \
+	doc/Makefile.in \
+	doc/libmapper.doxyfile \
+	examples/Makefile.in \
+	examples/pwm_synth/Makefile.in \
+	examples/py_tk_gui/Makefile.in \
+	extra/Makefile.in \
+	extra/osx/Makefile.in \
+	include/Makefile.in \
+	install-sh \
+	jni/Makefile \
+	jni/Makefile.in \
+	ltmain.sh \
+	m4/libtool.m4 \
+	m4/ltoptions.m4 \
+	m4/ltsugar.m4 \
+	m4/ltversion.m4 \
+	m4/lt~obsolete.m4 \
+	missing \
+	src/Makefile.in \
+	src/config.h.in \
+	swig/Makefile.in \
+	test/Makefile.in

-- 
libmapper packaging



More information about the pkg-multimedia-commits mailing list