[med-svn] r14138 - trunk/packages/freemedforms-project/trunk/debian
Eric Maeker
ericmaeker-guest at alioth.debian.org
Wed Jul 10 21:38:24 UTC 2013
Author: ericmaeker-guest
Date: 2013-07-10 21:38:24 +0000 (Wed, 10 Jul 2013)
New Revision: 14138
Modified:
trunk/packages/freemedforms-project/trunk/debian/rules
Log:
freemedforms: using the correct wrapper path (will be included in the next upstream)
Modified: trunk/packages/freemedforms-project/trunk/debian/rules
===================================================================
--- trunk/packages/freemedforms-project/trunk/debian/rules 2013-07-10 16:41:25 UTC (rev 14137)
+++ trunk/packages/freemedforms-project/trunk/debian/rules 2013-07-10 21:38:24 UTC (rev 14138)
@@ -28,6 +28,8 @@
# vars
FREEMEDFORMS_EMR:=freemedforms
FREEDIAMS:=freediams
+WRAPPER:=debian/freemedforms-wrapper.sh
+# WRAPPER:=global_resources/package_helpers/freemedforms-wrapper.sh # since 0.9.0~beta2
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
QMAKE:=qmake-qt4
@@ -84,11 +86,14 @@
find $(CURDIR)/debian/tmp/usr/share/freemedforms/translations -name "qt*.qm" -delete
# Install the bin wrappers
+ # For FreeMedForms EMR
mv $(CURDIR)/debian/tmp/usr/bin/freemedforms $(CURDIR)/debian/tmp/usr/bin/freemedforms.bin
+ cp -a $(WRAPPER) $(CURDIR)/debian/tmp/usr/bin/freemedforms
+ chmod 555 $(CURDIR)/debian/tmp/usr/bin/freemedforms
+
+ # For FreeDiams
mv $(CURDIR)/debian/tmp/usr/bin/freediams $(CURDIR)/debian/tmp/usr/bin/freediams.bin
- cp -a global_resources/package_helpers/freemedforms-wrapper.sh $(CURDIR)/debian/tmp/usr/bin/freemedforms
- chmod 555 $(CURDIR)/debian/tmp/usr/bin/freemedforms
- cp -a global_resources/package_helpers/freemedforms-wrapper.sh $(CURDIR)/debian/tmp/usr/bin/freediams
+ cp -a $(WRAPPER) $(CURDIR)/debian/tmp/usr/bin/freediams
sed -i "s/\"freemedforms/\"freediams/" $(CURDIR)/debian/tmp/usr/bin/freediams
sed -i "s/\"FreeMedForms/\"FreeDiams/" $(CURDIR)/debian/tmp/usr/bin/freediams
chmod 555 $(CURDIR)/debian/tmp/usr/bin/freediams
More information about the debian-med-commit
mailing list