[Pkg-voip-commits] [ring] 01/05: draft rules file
Alexandre Viau
aviau at moszumanska.debian.org
Fri Mar 4 23:38:09 UTC 2016
This is an automated email from the git hooks/post-receive script.
aviau pushed a commit to branch master
in repository ring.
commit 064cc4b7f7be643c245b34dbfb4aa278d38906be
Author: aviau <alexandre at alexandreviau.net>
Date: Fri Mar 4 14:22:02 2016 -0500
draft rules file
---
debian/rules | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..39643b5
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,43 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+%:
+ dh $@
+
+override_dh_auto_configure:
+ #################
+ ## Ring Daemon ##
+ #################
+ mkdir -p daemon/contrib/native
+ cd daemon/contrib/native && \
+ ../bootstrap --disable-ogg --disable-flac --disable-vorbis --disable-vorbisenc --disable-speex --disable-sndfile --disable-speexdsp && \
+ make list && \
+ make -j 2
+ @echo "Contribs built"
+ cd daemon && \
+ ./autogen.sh &&
+ ./configure --prefix=/usr
+
+ dh_auto_configure
+
+
+override_dh_auto_build:
+ #################
+ ## Ring Daemon ##
+ #################
+ cd daemon &&
+ make -j2
+
+override_dh_auto_clean:
+ [ -d daemon/contrib/native ] && cd daemon/contrib/native && $(MAKE) distclean
+ rm -rf daemon/contrib/native
+
+override_dh_auto_install:
+ #################
+ ## Ring Daemon ##
+ #################
+ cd daemon &&
+ make DESTDIR=$(CURDIR)/debian/ring-daemon install
+ # TODO include or not a and la file
+ find $(CURDIR)/debian/ring-daemon/ -name libring.a -delete
+ find $(CURDIR)/debian/ring-daemon/ -name libring.la -delete
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/ring.git
More information about the Pkg-voip-commits
mailing list