[Pkg-voip-commits] r9014 - in /opal/trunk/debian: changelog rules
kilian at alioth.debian.org
kilian at alioth.debian.org
Thu Jun 23 10:15:18 UTC 2011
Author: kilian
Date: Thu Jun 23 10:15:17 2011
New Revision: 9014
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=9014
Log:
Update debian/rules to cope with latest samples compilation changes
upstream
Modified:
opal/trunk/debian/changelog
opal/trunk/debian/rules
Modified: opal/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/opal/trunk/debian/changelog?rev=9014&op=diff
==============================================================================
--- opal/trunk/debian/changelog (original)
+++ opal/trunk/debian/changelog Thu Jun 23 10:15:17 2011
@@ -12,8 +12,10 @@
* Add debian/clean for all files that need to be purged before rebuild
* Add debian/patches/plugins_clean_target.patch: Most of the plugins don't
have a clean target and thus don't allow rebuilds
-
- -- Kilian Krause <kilian at debian.org> Tue, 21 Jun 2011 15:57:11 +0200
+ * Update debian/rules to cope with latest samples compilation changes
+ upstream
+
+ -- Kilian Krause <kilian at debian.org> Thu, 23 Jun 2011 12:14:39 +0200
opal (3.8.4~dfsg-1) experimental; urgency=low
Modified: opal/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/opal/trunk/debian/rules?rev=9014&op=diff
==============================================================================
--- opal/trunk/debian/rules (original)
+++ opal/trunk/debian/rules Thu Jun 23 10:15:17 2011
@@ -16,10 +16,14 @@
if [ -d plugins/audio/iLBC ];then \
echo "DFSG ERROR: iLBC code must be removed from upstream sources" ; false ; \
fi
- dh_auto_configure -- --enable-samples --enable-spandsp
+ dh_auto_configure -- --enable-spandsp
override_dh_auto_build:
- dh_auto_build -- opt docs
+ #dh_auto_build -- opt docs
+ rm -f lib;ln -s lib* lib
+ sed -e 's#^Libs: #Libs: -L$(CURDIR)/lib #' opal.pc >samples/simple/opal.pc
+ $(MAKE) PTLIBDIR=/usr OPALDIR=$(CURDIR) PKG_CONFIG_PATH=$(CURDIR)/samples/simple -C samples/simple
+ rm -f samples/simple/opal.pc
override_dh_installchangelogs:
dh_installchangelogs ChangeLog*.txt
@@ -30,7 +34,8 @@
else \
echo shared simpleopal correctly compiled non-static; \
fi
- ln -s lib* lib ; LD_LIBRARY_PATH=$(CURDIR)/lib samples/simple/obj*/simpleopal --help >/dev/null
+ # reusing lib symlink from building simple
+ LD_LIBRARY_PATH=$(CURDIR)/lib samples/simple/obj*/simpleopal --help >/dev/null
rm lib
override_dh_clean:
More information about the Pkg-voip-commits
mailing list