[med-svn] r1929 - trunk/packages/pdb2pqr/trunk/debian
hauro-guest at alioth.debian.org
hauro-guest at alioth.debian.org
Thu May 29 17:25:19 UTC 2008
Author: hauro-guest
Date: 2008-05-29 17:25:19 +0000 (Thu, 29 May 2008)
New Revision: 1929
Modified:
trunk/packages/pdb2pqr/trunk/debian/rules
trunk/packages/pdb2pqr/trunk/debian/wrapper.sh
Log:
pdb2pqr: Added a wrapper for psize.py
Modified: trunk/packages/pdb2pqr/trunk/debian/rules
===================================================================
--- trunk/packages/pdb2pqr/trunk/debian/rules 2008-05-29 15:22:29 UTC (rev 1928)
+++ trunk/packages/pdb2pqr/trunk/debian/rules 2008-05-29 17:25:19 UTC (rev 1929)
@@ -23,8 +23,11 @@
done
cp propka/_propkalib.so $(CURDIR)/debian/pdb2pqr/usr/lib/pdb2pqr/propka/
# Install "binaries"
- cp debian/wrapper.sh $(CURDIR)/debian/pdb2pqr/usr/bin/pdb2pqr
- chmod 755 $(CURDIR)/debian/pdb2pqr/usr/bin/pdb2pqr
+ for app in /usr/share/pdb2pqr/pdb2pqr.py /usr/share/pdb2pqr/src/psize.py; do \
+ sed -e "s, at SCRIPT@,$${app}," debian/wrapper.sh \
+ >$(CURDIR)/debian/pdb2pqr/usr/bin/$$(basename $${app} .py) && \
+ chmod 0755 $(CURDIR)/debian/pdb2pqr/usr/bin/$$(basename $${app} .py); \
+ done
cp propka/propka $(CURDIR)/debian/pdb2pqr/usr/bin/
# Clean files that are not removed in upstream's "distclean" target
Modified: trunk/packages/pdb2pqr/trunk/debian/wrapper.sh
===================================================================
--- trunk/packages/pdb2pqr/trunk/debian/wrapper.sh 2008-05-29 15:22:29 UTC (rev 1928)
+++ trunk/packages/pdb2pqr/trunk/debian/wrapper.sh 2008-05-29 17:25:19 UTC (rev 1929)
@@ -1,5 +1,5 @@
#!/bin/sh
-app=/usr/share/pdb2pqr/pdb2pqr.py
+app=@SCRIPT@
if [ -x $app ]; then
$app $*
else
More information about the debian-med-commit
mailing list