[med-svn] [biceps] 01/01: Deal with the attempt to install files into users home directories
Andreas Tille
tille at debian.org
Sun Feb 9 09:14:25 UTC 2014
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository biceps.
commit 1b0aaade932885f9bb25e2e5bb345dcfccdc62b4
Author: Andreas Tille <tille at debian.org>
Date: Sun Feb 9 10:13:54 2014 +0100
Deal with the attempt to install files into users home directories
---
debian/README.Debian | 20 ++++++++++++++++++++
debian/control | 2 ++
debian/rules | 20 +++++++-------------
3 files changed, 29 insertions(+), 13 deletions(-)
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..a8b8dce
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,20 @@
+biceps for Debian
+=================
+
+The original README file contains the following instruction:
+
+ A configuration directory called .biceps will also be created as a
+ subfolder of your home directory, containing a
+
+ * directory "Models", which is the Model for the pepnovo component
+ (at the moment, the name of the model to be used is hardcoded)
+
+ * file in_AAmodifications.param, which describes the internal
+ modifications or rather mutations pepsplice will try, e.g. the
+ different modifications of Lysine.
+
+These files are installed in the Debian package to
+
+ usr/share/biceps/.biceps
+
+you need to copy this to your home directory.
diff --git a/debian/control b/debian/control
index 9f4aa99..d1d6292 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,8 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
Uploaders: Andreas Tille <tille at debian.org>
Build-Depends: debhelper (>= 9),
cmake,
+ doxygen,
+ graphviz,
libboost-filesystem-dev,
libboost-system-dev,
libboost-regex-dev,
diff --git a/debian/rules b/debian/rules
index 7c47e34..299c73a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,22 +2,16 @@
# DH_VERBOSE := 1
-# some helpful variables - uncomment them if needed
-# shamelessly stolen from http://jmtd.net/log/awk/
-#DEBVERS := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
-#VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
-#DEBFLAVOR := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
-#DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
-#DEBIAN_BRANCH := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
-#GIT_TAG := $(subst ~,_,$(VERSION))
-
-# alternatively to manually set those variables you can
-# include /usr/share/cdbs/1/rules/buildvars.mk
-# and use what is set there. Any hint whether dh might set variables in
-# a similar manner are welcome.
+DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
%:
dh $@ --buildsystem=cmake
+override_dh_install:
+ dh_install
+ mkdir -p debian/$(DEBPKGNAME)/usr/share/$(DEBPKGNAME)
+ mv `find debian/$(DEBPKGNAME)/home -type d -name .biceps` debian/$(DEBPKGNAME)/usr/share/$(DEBPKGNAME)
+ rm -rf debian/$(DEBPKGNAME)/home
+
get-orig-source:
. debian/get-orig-source
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/biceps.git
More information about the debian-med-commit
mailing list