[Pkg-cli-libs-commits] [cecil-flowanalysis] 01/05: Convert to DH7 rules format
Jo Shields
directhex at moszumanska.debian.org
Tue Nov 10 10:51:12 UTC 2015
This is an automated email from the git hooks/post-receive script.
directhex pushed a commit to annotated tag debian/0.1_vcs20110809.r1.b34edf6-3
in repository cecil-flowanalysis.
commit 7380fd8d3a453a233cfec6aa0200d1f7ff87c5b5
Author: Jo Shields <jo.shields at xamarin.com>
Date: Tue Nov 10 10:38:28 2015 +0000
Convert to DH7 rules format
---
debian/control | 2 +-
debian/libmono-cecil-flowanalysis-cil-dev.install | 2 +-
debian/rules | 106 +---------------------
3 files changed, 4 insertions(+), 106 deletions(-)
diff --git a/debian/control b/debian/control
index 942e156..dd1576a 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: libs
Priority: optional
Maintainer: Debian CLI Libraries Team <pkg-cli-libs-team at lists.alioth.debian.org>
Uploaders: Jose Carlos Garcia Sogo <jsogo at debian.org>
-Build-Depends: debhelper (>= 7), nant (>= 0.91~alpha2+dfsg-3~)
+Build-Depends: debhelper (>= 7), mono-devel (>= 2.10)
Build-Depends-Indep: cli-common-dev (>= 0.8~),
libmono-cecil-cil-dev (>= 0.9.5),
libnunit-cil-dev
diff --git a/debian/libmono-cecil-flowanalysis-cil-dev.install b/debian/libmono-cecil-flowanalysis-cil-dev.install
index 56d88e6..73ce2b8 100644
--- a/debian/libmono-cecil-flowanalysis-cil-dev.install
+++ b/debian/libmono-cecil-flowanalysis-cil-dev.install
@@ -1 +1 @@
-usr/lib/pkgconfig
+debian/cecil-flowanalysis.pc /usr/lib/pkgconfig
diff --git a/debian/rules b/debian/rules
index 70da169..8da3ddf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,107 +1,5 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+%:
+ dh $@ --with cli
-# This is for the .wapi directory for Mono.
-export MONO_SHARED_DIR=$(CURDIR)
-
-DEB_VERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\ -f2)
-VERSION = $(shell echo $(DEB_VERSION) | sed 's,-.*,,' | sed 's,+dfsg.*,,')
-ABIVERSION = 0.1
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
-
- touch configure-stamp
-
-build: build-arch build-indep
-
-build-arch:
-
-build-indep: build-indep-stamp
-
-build-indep-stamp: configure-stamp
- dh_testdir
-
- nant -v -buildfile:default.build -D:"Mono.Cecil.dll"="$(shell pkg-config --variable=Libraries mono-cecil | cut -d' ' -f1)" \
- -D:"keyfile"="debian/mono.snk"
-
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
-
- nant -v clean
-
- dh_clean
-
-install: install-arch install-indep
-
-install-arch: build-arch
-
-install-indep: build-indep
- dh_testdir
- dh_testroot
- dh_prep
-
- dh_installdirs
-
- mkdir debian/tmp
- mkdir -p debian/tmp/usr/lib/pkgconfig
- cp -a $(CURDIR)/bin debian/tmp
- cp debian/cecil-flowanalysis.pc debian/tmp/usr/lib/pkgconfig
-
- # Files are yet installed. We only need to deleted unwanted ones.
- rm -f $(CURDIR)/debian/tmp/bin/*Test*
-
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
- find debian/tmp -type f -name "*.mdb" -delete
-endif
-
-binary: binary-indep binary-arch
-
-binary-arch: build-arch install-arch
-
-binary-indep: build-indep install-indep
- dh_testdir
- dh_testroot
- dh_installchangelogs ChangeLog
- dh_installdocs
- dh_install --sourcedir=debian/tmp/
- dh_installcligac
- dh_compress
- dh_fixperms
- dh_clifixperms
- dh_clideps -d
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-BASE_NAME = cecil-flowanalysis
-TARBALL_NAME = $(BASE_NAME).tar.gz
-SVN_REV = $(shell echo $(DEB_VERSION) | sed 's,-.*,,' | sed 's,.*\.,,')
-TARBALL_VERSION = 0.1~svn.$(SVN_REV)
-$(TARBALL_NAME):
- svn export http://anonsvn.mono-project.com/source/trunk/cecil/flowanalysis/ $(BASE_NAME)-$(TARBALL_VERSION) -r$(SVN_REV)
- tar -czf $(TARBALL_NAME) $(BASE_NAME)-$(TARBALL_VERSION)
-
-get-orig-source: $(TARBALL_NAME)
- mv $(TARBALL_NAME) $(BASE_NAME)_$(TARBALL_VERSION).orig.tar.gz
- rm -rf $(BASE_NAME)-$(TARBALL_VERSION)
-
-.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install install-arch install-indep
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-libs/packages/cecil-flowanalysis.git
More information about the Pkg-cli-libs-commits
mailing list