[med-svn] r3926 - trunk/packages/mira/trunk/debian
Charles Plessy
plessy at alioth.debian.org
Tue Sep 8 10:02:33 UTC 2009
Author: plessy
Date: 2009-09-08 10:02:25 +0000 (Tue, 08 Sep 2009)
New Revision: 3926
Modified:
trunk/packages/mira/trunk/debian/control
trunk/packages/mira/trunk/debian/rules
Log:
Updated build dependancies and converted to CDBS.
Modified: trunk/packages/mira/trunk/debian/control
===================================================================
--- trunk/packages/mira/trunk/debian/control 2009-09-08 09:16:49 UTC (rev 3925)
+++ trunk/packages/mira/trunk/debian/control 2009-09-08 10:02:25 UTC (rev 3926)
@@ -4,7 +4,7 @@
Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
DM-Upload-Allowed: yes
Uploaders: Charles Plessy <plessy at debian.org>
-Build-Depends: debhelper (>= 7), autotools-dev, flex, libexpat1-dev
+Build-Depends: debhelper (>= 7), autotools-dev, libboost-thread-dev, libexpat1-dev, perl, zlib1g-dev
Standards-Version: 3.8.3
Homepage: http://chevreux.org/projects_mira.html
Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mira/trunk/?rev=0&sc=0
Modified: trunk/packages/mira/trunk/debian/rules
===================================================================
--- trunk/packages/mira/trunk/debian/rules 2009-09-08 09:16:49 UTC (rev 3925)
+++ trunk/packages/mira/trunk/debian/rules 2009-09-08 10:02:25 UTC (rev 3926)
@@ -1,76 +1,7 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
-config.status: configure
- dh_testdir
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
- cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
- cp -f /usr/share/misc/config.guess config.guess
-endif
- ./configure --host=$(DEB_HOST_GNU_TYPE)\
- --build=$(DEB_BUILD_GNU_TYPE)\
- --prefix=/usr\
- --mandir=\$${prefix}/share/man\
- --infodir=\$${prefix}/share/info\
- --disable-static\
- CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
-
-build: build-stamp
-build-stamp: config.status
- dh_testdir
- $(MAKE)
- touch $@
-
-clean: config.status
- dh_testdir
- dh_testroot
- rm -f build-stamp
- $(MAKE) distclean
- rm -f config.sub config.guess
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
- $(MAKE) DESTDIR=$(CURDIR)/debian/mira install
-
-
-binary-indep: build install
-
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
- dh_installexamples
-# dh_install
-# dh_installman
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
-# dh_perl
-# dh_makeshlibs
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(CURDIR)/debian/mira-assembler
+DEB_MAKE_CHECK_TARGET = check
More information about the debian-med-commit
mailing list