2
2
# -*- mode: makefile; coding: utf-8 -*-
3
# Copyright © 2002, 2003, 2004, 2006, 2008, 2009, 2010, 2011, 2012 Jonas
4
# Smedegaard <dr@jones.dk>
3
# Copyright © 2002, 2003, 2004, 2006, 2008, 2009, 2010, 2011, 2012, 2013
4
# Jonas Smedegaard <dr@jones.dk>
5
5
# Description: Main Debian packaging script for Config::IniFiles
7
7
# This program is free software; you can redistribute it and/or modify
8
8
# it under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 2, or (at your option)
9
# the Free Software Foundation; either version 3, or (at your option)
10
10
# any later version.
12
12
# This program is distributed in the hope that it will be useful, but
17
17
# You should have received a copy of the GNU General Public License
18
18
# along with this program. If not, see <http://www.gnu.org/licenses/>.
20
-include /usr/share/cdbs/1/rules/upstream-tarball.mk
21
-include /usr/share/cdbs/1/rules/utils.mk
20
include /usr/share/cdbs/1/rules/upstream-tarball.mk
21
include /usr/share/cdbs/1/rules/utils.mk
22
22
include /usr/share/cdbs/1/class/perl-build.mk
23
23
include /usr/share/cdbs/1/rules/debhelper.mk
25
25
DEB_UPSTREAM_PACKAGE = Config-IniFiles
26
26
#DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/Config
27
27
DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/Config/SHLOMIF
28
DEB_UPSTREAM_TARBALL_VERSION := $(shell echo '$(DEB_UPSTREAM_VERSION)' | awk -F. '{print $$1"."$$2$$3$$4$$5}')
29
DEB_UPSTREAM_TARBALL_MD5 = 9999dedf8776a31ec4d2926ba2ebc8f5
31
# Suppress optional build-dependencies
32
CDBS_BUILD_DEPENDS_rules_upstream-tarball =
33
CDBS_BUILD_DEPENDS_rules_utils_copyright-check =
28
DEB_UPSTREAM_TARBALL_MD5 = fb31fa4ec1af06c41bbe4445329b3bf5
30
pkg = $(DEB_SOURCE_PACKAGE)
32
# Needed by upstream build process and (always) at runtime
33
deps = liblist-moreutils-perl (>= 0.33)
35
# Needed by upstream testsuite
36
deps-test = libio-stringy-perl
38
CDBS_BUILD_DEPENDS +=, $(deps), $(deps-test)
39
CDBS_DEPENDS_$(pkg) = $(deps)
35
41
# Perl-base is sufficient, and was once wanted by localization-config for use
36
42
# in debian-installer.
37
43
DEB_DH_PERL_ARGS = -d
39
# Needed both by upstream tests and (always) at runtime
40
deps = liblist-moreutils-perl (>= 0.33)
41
CDBS_BUILD_DEPENDS += , $(deps)
42
CDBS_DEPENDS_DEFAULT = $(deps)
44
# Needed by upstream tests
45
CDBS_BUILD_DEPENDS += , libio-stringy-perl