[med-svn] r11214 - trunk/packages/treevolve/trunk/debian

Andreas Tille tille at alioth.debian.org
Tue Jun 5 16:34:35 UTC 2012


Author: tille
Date: 2012-06-05 16:34:35 +0000 (Tue, 05 Jun 2012)
New Revision: 11214

Modified:
   trunk/packages/treevolve/trunk/debian/control
   trunk/packages/treevolve/trunk/debian/rules
Log:
Uhmm, lets quickly delete this yada stuff - too good that this package does not exist any more.  If anybody really should keep on working on this package he should not be distracted ...


Modified: trunk/packages/treevolve/trunk/debian/control
===================================================================
--- trunk/packages/treevolve/trunk/debian/control	2012-06-05 16:27:56 UTC (rev 11213)
+++ trunk/packages/treevolve/trunk/debian/control	2012-06-05 16:34:35 UTC (rev 11214)
@@ -6,9 +6,9 @@
 Section: science
 Priority: optional
 Standards-Version: 3.7.3
-Build-Depends: yada (>= 0.54)
+Build-Depends: debhelper (>= 9)
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/treevolve/trunk/
-Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/treevolve
+Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/treevolve/trunk/
 Homepage: http://evolve.zoo.ox.ac.uk/software/Treevolve/main.html
 
 Package: treevolve

Modified: trunk/packages/treevolve/trunk/debian/rules
===================================================================
--- trunk/packages/treevolve/trunk/debian/rules	2012-06-05 16:27:56 UTC (rev 11213)
+++ trunk/packages/treevolve/trunk/debian/rules	2012-06-05 16:34:35 UTC (rev 11214)
@@ -1,251 +1,6 @@
 #!/usr/bin/make -f
-# Generated automatically from debian/packages
-# by yada v0.54, of Sun, 28 Oct 2007
 
-DEB_HOST_ARCH        := $(shell dpkg-architecture -qDEB_HOST_ARCH 2>/dev/null)
-DEB_HOST_ARCH_OS     := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
-DEB_HOST_ARCH_CPU    := $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU 2>/dev/null)
-DEB_HOST_GNU_CPU     := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU 2>/dev/null)
-DEB_HOST_GNU_TYPE    := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE 2>/dev/null)
-DEB_HOST_GNU_SYSTEM  := $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM 2>/dev/null)
+# DH_VERBOSE := 1
 
-DEB_BUILD_ARCH       := $(shell dpkg-architecture -qDEB_BUILD_ARCH 2>/dev/null)
-DEB_BUILD_ARCH_OS    := $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS 2>/dev/null)
-DEB_BUILD_ARCH_CPU   := $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU 2>/dev/null)
-DEB_BUILD_GNU_CPU    := $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU 2>/dev/null)
-DEB_BUILD_GNU_TYPE   := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE 2>/dev/null)
-DEB_BUILD_GNU_SYSTEM := $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM 2>/dev/null)
-
-# Take account of old dpkg-architecture output.
-ifeq ($(DEB_HOST_ARCH_CPU),)
-  DEB_HOST_ARCH_CPU := $(DEB_HOST_GNU_CPU))
-  ifeq ($(DEB_HOST_ARCH_CPU),i486)
-    DEB_HOST_ARCH_OS := i386
-  else
-  ifeq ($(DEB_HOST_ARCH_CPU),x86_64)
-    DEB_HOST_ARCH_OS := amd64
-  endif
-  endif
-endif
-ifeq ($(DEB_HOST_ARCH_OS),)
-  DEB_HOST_ARCH_OS := $(subst -gnu,,$(DEB_HOST_GNU_SYSTEM))
-  ifeq ($(DEB_HOST_ARCH_OS),gnu)
-    DEB_HOST_ARCH_OS := hurd
-  endif
-endif
-ifeq ($(DEB_BUILD_ARCH_CPU),)
-  DEB_BUILD_ARCH_CPU := $(DEB_BUILD_GNU_CPU))
-  ifeq ($(DEB_BUILD_ARCH_CPU),i486)
-    DEB_BUILD_ARCH_OS := i386
-  else
-  ifeq ($(DEB_BUILD_ARCH_CPU),x86_64)
-    DEB_BUILD_ARCH_OS := amd64
-  endif
-  endif
-endif
-ifeq ($(DEB_BUILD_ARCH_OS),)
-  DEB_BUILD_ARCH_OS := $(subst -gnu,,$(DEB_BUILD_GNU_SYSTEM))
-  ifeq ($(DEB_BUILD_ARCH_OS),gnu)
-    DEB_BUILD_ARCH_OS := hurd
-  endif
-endif
-
-LEFT_PARENTHESIS:=(
-VERSION:=$(shell head -n1 debian/changelog | sed -e "s/^[0-9a-zA-Z.-]* $(LEFT_PARENTHESIS)//" -e "s/[^0-9a-zA-Z.:+~-].*//")
-
-SHELL=/bin/bash
-
-.PHONY: default
-default:
-	@echo "Specify a target:"; \
-	echo " build              compile the package"; \
-	echo " build-arch         compile the architecture-dependent package"; \
-	echo " build-indep        compile the architecture-independent package"; \
-	echo " binary             make all binary packages"; \
-	echo " binary-arch        make all architecture-dependent binary packages"; \
-	echo " binary-indep       make all architecture-independent binary packages"; \
-	echo " clean              clean up the source package"; \
-	echo; \
-	echo " clean-install-tree clean up only under debian/"; \
-	echo
-
-# Build the package and prepare the install tree
-
-.PHONY: build-only build
-build-only: debian/build-stamp
-build: build-only
-
-.PHONY: build-arch-only build-arch
-build-arch-only: debian/build-arch-stamp
-build-arch: build-arch-only
-
-.PHONY: build-indep-only build-indep
-build-indep-only: debian/build-indep-stamp
-build-indep: build-indep-only
-
-# Make sure these rules and the control file are up-to-date
-
-.PHONY: rules control templates
-rules: debian/rules
-debian/rules: $(shell which yada) debian/packages-tmp
-	yada rebuild rules
-
-control: debian/control
-debian/control: $(shell which yada) debian/packages-tmp
-	yada rebuild control
-
-templates: debian/templates debian/po/POTFILES.in
-debian/templates: $(shell which yada) debian/packages-tmp
-	yada rebuild templates
-debian/po/POTFILES.in: $(shell which yada) debian/packages-tmp
-	yada rebuild templates
-
-debian/build-stamp: debian/build-arch-stamp debian/build-indep-stamp
-	@[ -f $(shell which yada) -a -f debian/rules ]
-	@umask 022 \
-	  && export pwd="$$(pwd)" \
-	  && export TMPROOT="$$(pwd)/debian/tmp" \
-	  && export SOURCE="treevolve" \
-	  && export VERSION="$(VERSION)" \
-	  && export DEB_HOST_GNU_CPU="$(DEB_HOST_GNU_CPU)" \
-	  && export DEB_HOST_GNU_TYPE="$(DEB_HOST_GNU_TYPE)" \
-	  && export DEB_HOST_GNU_SYSTEM="$(DEB_HOST_GNU_SYSTEM)" \
-	  && export DEB_BUILD_GNU_CPU="$(DEB_BUILD_GNU_CPU)" \
-	  && export DEB_BUILD_GNU_TYPE="$(DEB_BUILD_GNU_TYPE)" \
-	  && export DEB_BUILD_GNU_SYSTEM="$(DEB_BUILD_GNU_SYSTEM)" && (\
-	echo -E 'eval "yada () { perl $$(which yada) \"\$$@\"; }"; set -e; set -v';\
-	echo -E 'bk -r co || true';\
-	echo -E 'CC=$${CC:-gcc}';\
-	echo -E 'CFLAGS=$${CFLAGS:--Wall -g}';\
-	echo -E 'CXXFLAGS=$${CXXFLAGS:--Wall -g}';\
-	echo -E 'LDFLAGS=$${LDFLAGS:-}';\
-	echo -E 'if [ "$${DEB_BUILD_OPTIONS#*noopt}" != "$$DEB_BUILD_OPTIONS" ]; then';\
-	echo -E '    CFLAGS="$$CFLAGS -O0"';\
-	echo -E '    CXXFLAGS="$$CXXFLAGS -O0"';\
-	echo -E 'else';\
-	echo -E '    CFLAGS="$$CFLAGS -O2"';\
-	echo -E '    CXXFLAGS="$$CXXFLAGS -O2"';\
-	echo -E 'fi';\
-	echo -E 'make') | /bin/sh
-	touch debian/build-stamp
-
-debian/build-arch-stamp:
-	@[ -f $(shell which yada) -a -f debian/rules ]
-	touch debian/build-arch-stamp
-
-debian/build-indep-stamp: debian/build-arch-stamp
-	@[ -f $(shell which yada) -a -f debian/rules ]
-	touch debian/build-indep-stamp
-
-.PHONY: install-tree
-install-tree: install-tree-any
-install-tree-any: \
-	debian/tmp-treevolve/DEBIAN/control
-
-debian/tmp-treevolve/DEBIAN/control: debian/build-stamp debian/control
-	rm -rf debian/tmp-treevolve
-	umask 022 && install -d debian/tmp-treevolve/DEBIAN
-	install -d debian/tmp-treevolve/usr/share/doc/treevolve
-	umask 022; yada generate copyright treevolve \
-	  > debian/tmp-treevolve/usr/share/doc/treevolve/copyright
-	install -m 644 -p debian/changelog \
-	  debian/tmp-treevolve/usr/share/doc/treevolve/changelog.Debian
-	@umask 022 \
-	  && export pwd="$$(pwd)" \
-	  && export ROOT="$$(pwd)/debian/tmp-treevolve" \
-	  && export TMPROOT="$$(pwd)/debian/tmp" \
-	  && export CONTROL="$$(pwd)/debian/tmp-treevolve/DEBIAN" \
-	  && export PACKAGE="treevolve" \
-	  && export SOURCE="treevolve" \
-	  && export VERSION="$(VERSION)" \
-	  && export DEB_HOST_GNU_CPU="$(DEB_HOST_GNU_CPU)" \
-	  && export DEB_HOST_GNU_TYPE="$(DEB_HOST_GNU_TYPE)" \
-	  && export DEB_HOST_GNU_SYSTEM="$(DEB_HOST_GNU_SYSTEM)" \
-	  && export DEB_BUILD_GNU_CPU="$(DEB_BUILD_GNU_CPU)" \
-	  && export DEB_BUILD_GNU_TYPE="$(DEB_BUILD_GNU_TYPE)" \
-	  && export DEB_BUILD_GNU_SYSTEM="$(DEB_BUILD_GNU_SYSTEM)" && (\
-	echo -E 'eval "yada () { perl $$(which yada) \"\$$@\"; }"; set -e; set -v';\
-	echo -E 'yada install -bin treevolve';\
-	echo -E 'yada install -doc treevolve1.3.manual.txt') | /bin/sh
-	@umask 022 \
-	  && export pwd="$$(pwd)" \
-	  && export ROOT="$$(pwd)/debian/tmp-treevolve" \
-	  && export TMPROOT="$$(pwd)/debian/tmp" \
-	  && export CONTROL="$$(pwd)/debian/tmp-treevolve/DEBIAN" \
-	  && export PACKAGE="treevolve" \
-	  && export SOURCE="treevolve" \
-	  && export VERSION="$(VERSION)" && (\
-	echo -E 'eval "yada () { perl $$(which yada) \"\$$@\"; }"; set -e; set -v';\
-	echo -E 'yada perl';\
-	echo -E 'yada python';\
-	echo -E 'yada strip';\
-	echo -E 'yada shlibdeps') | /bin/sh
-	yada compress treevolve
-	yada generate maintscripts treevolve
-	find debian/tmp-treevolve -type f -print \
-	  | sed -n 's/^debian\/tmp-treevolve\(\/etc\/.*\)$$/\1/p' \
-	  > debian/tmp-treevolve/DEBIAN/conffiles
-	test -s debian/tmp-treevolve/DEBIAN/conffiles || rm -f debian/tmp-treevolve/DEBIAN/conffiles
-	yada rebuild control
-	yada generate substvars treevolve
-	umask 022 && dpkg-gencontrol -isp -ptreevolve -Pdebian/tmp-treevolve
-
-# Build package files
-
-.PHONY: binary binary-arch binary-indep
-binary: binary-arch binary-indep
-binary-arch: binary-arch-any
-
-.PHONY: binary-arch-any
-binary-arch-any: \
-	binary-package-treevolve
-binary-indep:
-
-.PHONY: binary-package-treevolve
-binary-package-treevolve: check-root debian/tmp-treevolve/DEBIAN/control
-	@[ -f $(shell which yada) -a -f debian/rules ]
-	chown -R 0.0 debian/tmp-treevolve
-	chmod -R u=rwX,go=rX debian/tmp-treevolve
-	@if [ -d debian/tmp-treevolve/usr/doc/treevolve ]; then \
-	  echo "*** Yada warning: /usr/doc/treevolve should be /usr/share/doc/treevolve";\
-	fi
-	dpkg-deb --build debian/tmp-treevolve ..
-
-.PHONY: check-root
-check-root:
-	@[ `id -u` = 0 ] || (echo "You must be root to do this!"; false)
-
-debian/packages-tmp: debian/packages 
-	yada rebuild packages
-
-## Clean up afterwards
-
-.PHONY: clean clean-install-tree clean-build
-
-clean: clean-install-tree clean-build debian/control debian/rules
-	rm -f debian/packages-tmp debian/packages-tmp-new debian/packages-tmp-include
-
-clean-build:
-	@[ -f $(shell which yada) -a -f debian/rules ]
-	rm -f debian/build-stamp debian/build-arch-stamp debian/build-indep-stamp
-	@umask 022 \
-	  && export pwd="$$(pwd)" \
-	  && export TMPROOT="$$(pwd)/debian/tmp" \
-	  && export SOURCE="treevolve" \
-	  && export VERSION="$(VERSION)" \
-	  && export DEB_HOST_GNU_CPU="$(DEB_HOST_GNU_CPU)" \
-	  && export DEB_HOST_GNU_TYPE="$(DEB_HOST_GNU_TYPE)" \
-	  && export DEB_HOST_GNU_SYSTEM="$(DEB_HOST_GNU_SYSTEM)" \
-	  && export DEB_BUILD_GNU_CPU="$(DEB_BUILD_GNU_CPU)" \
-	  && export DEB_BUILD_GNU_TYPE="$(DEB_BUILD_GNU_TYPE)" \
-	  && export DEB_BUILD_GNU_SYSTEM="$(DEB_BUILD_GNU_SYSTEM)" && (\
-	echo -E 'eval "yada () { perl $$(which yada) \"\$$@\"; }"; set -e; set -v';\
-	echo -E 'bk -r co || true';\
-	echo -E 'make distclean || make clean || true') | /bin/sh
-	yada unpatch
-	rm -rf debian/tmp
-
-clean-install-tree: debian/rules
-	@[ -f $(shell which yada) -a -f debian/rules ]
-	rm -f debian/install-tree-stamp
-	rm -rf debian/tmp-* debian/files* debian/substvars debian/shlibs.local debian/ucf
+%:
+	dh $@




More information about the debian-med-commit mailing list