2
# -*- mode: makefile; coding: utf-8 -*-
3
# Copyright © 2007 Jonas Smedegaard <dr@jones.dk>
5
# See debian/README.cdbs-tweaks for info on local overrides
6
include debian/cdbs/1/rules/upstream-tarball.mk
7
include debian/cdbs/1/rules/copyright-check.mk
8
include debian/cdbs/1/rules/buildinfo.mk
9
include /usr/share/cdbs/1/rules/debhelper.mk
10
# Put perlmodule.mk after debhelper.mk to dh_clean temp files not in MANIFEST
11
include /usr/share/cdbs/1/class/perlmodule.mk
13
DEB_UPSTREAM_PACKAGE = HTML-WikiConverter-Kwiki
14
DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/HTML
15
DEB_UPSTREAM_TARBALL_MD5 = 27f01c2aeaeaa9e1e0f4f62adc54b0cf
17
# Needed both by upstream build process and at runtime
18
#TODO: Automatically include these as dependencies to debian/control
19
dependencies = libhtml-wikiconverter-perl (>= 0.60), libparams-validate-perl, liburi-perl
21
# Needed by upstream build process
22
CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), $(dependencies), libtest-simple-perl
23
# Additional undocumented upstream needs
24
CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), libfile-spec-perl, libhtml-parser-perl, libtest-pod-perl (>= 1.14), libtest-pod-coverage-perl (>= 1.04)
26
# Fix double cdbs build-dependencies
27
CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bcdbs (>= 0.4.39)/ s/ *,* *\bcdbs (>= \(0.4.23-1.1\|0.4.27\)) *,* */, /g' -e 's/^ *, *//' -e 's/ *, *$$//')