Commit e5d01e7b authored by HERBERT Ryan's avatar HERBERT Ryan Committed by Mathieu Giraud

Germline package automation

Added scripts to build a package containing the germline directory and
the Makefile which allows the user to download the IMGT germlines
parent de0dab2d
#!/bin/bash
. ./build-generic.sh
MY_PWD="$PWD"
source_files=../germline
dest_files=germline
exec_dir="$dest_files"
copy_files -s="$source_files" -d="$dest_files" --debug
cd "$MY_PWD/$exec_dir"
bash "$MY_PWD/mkdeb"
cd "$MY_PWD"
remove_files -s="$source_files" -d="$dest_files" --debug
exit 0
vidjil-germline (2016.08.1) stable; urgency=medium
* Initial Release.
-- Vidjil Team <team@vidjil.org> Fri, 12 Aug 2016 14:24:22 +0200
Source: vidjil-germline
Section: misc
Priority: optional
Maintainer: Vidjil Team <team@vidjil.org>
Build-Depends: debhelper (>=9)
Standards-Version: 3.9.7
Homepage: http://www.vidjil.org
#Vcs-Git: git://anonscm.debian.org/collab-maint/vidjil-germline.git
#Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/vidjil-germline.git
Package: vidjil-germline
Architecture: all
Depends: ${misc:Depends}
Description: Collection of useful germlines
Vidjil requires germlines to function. This is a Makefile that will download a
collection of germlines that we feel are essential for running Vidjil.
Be sure to read the license agreement when the files are downloaded.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: vidjil-germline
Source: http://www.vidjil.org
Files: *
Copyright: 2016 Vidjil Team <team@vidjil.org>
License: GPL-3.0+
Files: debian/*
Copyright: 2016 Vidjil Team <team@vidjil.org>
License: GPL-3.0+
License: GPL-3.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
germline/* /usr/share/vidjil/germline
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1
# see FEATURE AREAS in dpkg-buildflags(1)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh $@
# dh_make generated override targets
# This is example for Cmake (See https://bugs.debian.org/641051 )
#override_dh_auto_configure:
# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
#!/bin/bash
set -e
# summary of how this script can be called:
# * <postrm> `remove'
# * <postrm> `purge'
# * <old-postrm> `upgrade' <new-version>
# * <new-postrm> `failed-upgrade' <old-version>
# * <new-postrm> `abort-install'
# * <new-postrm> `abort-install' <old-version>
# * <new-postrm> `abort-upgrade' <old-version>
# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
. /usr/share/debconf/confmodule
case "$1" in
purge|remove)
rm -rf /usr/share/vidjil/germline/*.fa
rm -rf /usr/share/vidjil/germline/*.fq
;;
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
if [ -f /usr/share/webpy-example/lib/credentials.py ]; then
rm -f /usr/share/webpy-example/lib/credentials.py
fi
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment