Author: tille Date: 2014-09-24 14:02:09 +0000 (Wed, 24 Sep 2014) New Revision: 18131
Added: trunk/packages/rostlab/profnet/trunk/debian/substvars Modified: trunk/packages/rostlab/profnet/trunk/debian/changelog trunk/packages/rostlab/profnet/trunk/debian/control trunk/packages/rostlab/profnet/trunk/debian/rules Log: Short dh in rules; hardening Modified: trunk/packages/rostlab/profnet/trunk/debian/changelog =================================================================== --- trunk/packages/rostlab/profnet/trunk/debian/changelog 2014-09-24 14:01:34 UTC (rev 18130) +++ trunk/packages/rostlab/profnet/trunk/debian/changelog 2014-09-24 14:02:09 UTC (rev 18131) @@ -1,4 +1,4 @@ -profnet (1.0.22-2) UNRELEASED; urgency=low +profnet (1.0.22-2) unstable; urgency=low [ Laszlo Kajan ] * Implemented Eugene V. Lyubimkin's suggestions (minor changes in packaging @@ -10,6 +10,9 @@ * debhelper 9 * Priority: optional * d/copyright: Fix sequence of entries to fit DEP5 + * d/rules: short dh notation + * Propagate hardening options + * lintian-override for substvers which contains package description -- Andreas Tille <[email protected]> Wed, 24 Sep 2014 15:25:53 +0200 Modified: trunk/packages/rostlab/profnet/trunk/debian/control =================================================================== --- trunk/packages/rostlab/profnet/trunk/debian/control 2014-09-24 14:01:34 UTC (rev 18130) +++ trunk/packages/rostlab/profnet/trunk/debian/control 2014-09-24 14:02:09 UTC (rev 18131) @@ -105,6 +105,7 @@ Package: profnet-dbg Architecture: any +Priority: extra Section: debug Depends: ${misc:Depends}, profnet-bval (= ${binary:Version}), Modified: trunk/packages/rostlab/profnet/trunk/debian/rules =================================================================== --- trunk/packages/rostlab/profnet/trunk/debian/rules 2014-09-24 14:01:34 UTC (rev 18130) +++ trunk/packages/rostlab/profnet/trunk/debian/rules 2014-09-24 14:02:09 UTC (rev 18131) @@ -2,46 +2,14 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -build: build-arch build-indep +%: + dh $@ -build-arch: build-stamp -build-indep: build-stamp - -build-stamp: - dh_testdir - - @echo "******************" - @echo "** M A K E **" - @echo "******************" - - # Add here commands to compile the package. +override_dh_auto_build: make patch - make - #docbook-to-man debian/profnet.sgml > profnet.1 + make CFLAGS=$(CLFAGS) LDFLAGS=$(LDFLAGS) - touch $@ - -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - - # Add here commands to clean up after the build process. - $(MAKE) distclean - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_prep - dh_installdirs - - @echo "*******************" - @echo "** I N S T A L L **" - @echo "*******************" - - # Add here commands to install the package into debian/profnet. +override_dh_auto_install: $(MAKE) DESTDIR=$(CURDIR)/debian/profnet-bval prefix=/usr install-bval $(MAKE) DESTDIR=$(CURDIR)/debian/profnet-chop prefix=/usr install-chop $(MAKE) DESTDIR=$(CURDIR)/debian/profnet-con prefix=/usr install-con @@ -52,44 +20,11 @@ $(MAKE) DESTDIR=$(CURDIR)/debian/profnet-snapfun prefix=/usr install-snapfun $(MAKE) DESTDIR=$(CURDIR)/debian/profphd-net prefix=/usr install-phd - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build install - dh_testdir - dh_testroot - dh_installchangelogs ChangeLog - dh_installdocs - dh_installexamples -# dh_install -# dh_installmenu -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_python -# dh_installinit -# dh_installcron -# dh_installinfo - dh_installman - dh_link +override_dh_strip: dh_strip --dbg-package=profnet-dbg - dh_compress - dh_fixperms -# dh_perl -# dh_makeshlibs - dh_installdeb + +override_dh_shlibdeps: dh_shlibdeps for i in $$(sed -n '/^Package: / s///p' debian/control); do \ cat debian/substvars >> debian/$$i.substvars; \ done; - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure Added: trunk/packages/rostlab/profnet/trunk/debian/substvars =================================================================== --- trunk/packages/rostlab/profnet/trunk/debian/substvars (rev 0) +++ trunk/packages/rostlab/profnet/trunk/debian/substvars 2014-09-24 14:02:09 UTC (rev 18131) @@ -0,0 +1 @@ +Description=Profnet is a component of the prediction methods that make up the${Newline}Predict Protein service by the lab of Burkhard Rost. It provides the neural${Newline}network component to a variety of predictors that perform protein feature${Newline}prediction directly from sequence. This neural network implementation has${Newline}to be compiled for every different network architecture. _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
