[Pkg-voip-commits] r9151 - in /h323plus-applications/trunk/debian: control rules

kilian at alioth.debian.org kilian at alioth.debian.org
Thu Jul 14 19:38:58 UTC 2011


Author: kilian
Date: Thu Jul 14 19:38:57 2011
New Revision: 9151

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=9151
Log:
fix at least somewhat the compilation

Modified:
    h323plus-applications/trunk/debian/control
    h323plus-applications/trunk/debian/rules

Modified: h323plus-applications/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/h323plus-applications/trunk/debian/control?rev=9151&op=diff
==============================================================================
--- h323plus-applications/trunk/debian/control (original)
+++ h323plus-applications/trunk/debian/control Thu Jul 14 19:38:57 2011
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
 Uploaders: Kilian Krause <kilian at debian.org>
-Build-Depends: debhelper (>= 8.0.0), libh323-dev (>= 1.22.0)
+Build-Depends: debhelper (>= 8.0.0), libh323plus-dev (>= 1.22.0~)
 Standards-Version: 3.9.2
 Homepage: http://www.h323plus.org/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-voip/h323plus-applications/trunk/

Modified: h323plus-applications/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/h323plus-applications/trunk/debian/rules?rev=9151&op=diff
==============================================================================
--- h323plus-applications/trunk/debian/rules (original)
+++ h323plus-applications/trunk/debian/rules Thu Jul 14 19:38:57 2011
@@ -14,23 +14,35 @@
 %:
 	dh $@ 
 
-override_dh_configure:
+override_dh_auto_configure:
 	# prepare PTLIBDIR
 	rm -rf debian/ptlibdir;mkdir debian/ptlibdir;for file in /usr/include/ptlib/* /usr/share/ptlib/*;do ln -sf $$file debian/ptlibdir;done
 	# prepare OPENH323DIR
 	rm -rf debian/openh323dir;mkdir debian/openh323dir;for file in /usr/include/openh323/* /usr/share/openh323/*;do ln -sf $$file debian/openh323dir;done
+	echo '#!/usr/bin/make -f' >debian/openh323dir/Makefile
+	echo 'opt:' >>debian/openh323dir/Makefile
 
 override_dh_installchangelogs:
 	dh_installchangelogs -pt38modem-h323 t38modem/CHANGES
 
 override_dh_auto_build:
 	for project in $(PROJECTS);do \
-		make -C $$project opt docs; \
+		make -C $$project \
+		PTLIBDIR=$(CURDIR)/debian/ptlibdir \
+		OH323_INCDIR=$(CURDIR)/debian/openh323dir \
+		OH323_SRCDIR=$(CURDIR)/debian/openh323dir \
+		LDLIBS="-lpt -lh323" \
+		OPENH323DIR=$(CURDIR)/debian/openh323dir \
+		opt docs; \
 	done
 
 override_dh_clean:
 	for project in $(PROJECTS);do \
-		make -C $$project clean; \
+		make -C $$project \
+		PTLIBDIR=$(CURDIR)/debian/ptlibdir \
+		OPENH323DIR=$(CURDIR)/debian/openh323dir \
+		clean; \
 		rm -rf $$project/obj_*; \
 	done
+	rm -rf debian/openh323dir debian/ptlibdir
 	dh_clean




More information about the Pkg-voip-commits mailing list