[SCM] Debian packaging of Crypt-SSLeay CPAN distribution branch, master, updated. debian/0.57-2-21-g33c9ef1
gregor herrmann
gregoa at debian.org
Mon Jan 2 23:39:18 UTC 2012
The following commit has been merged in the master branch:
commit 62bcb478c0ceb42aec745aa119146f22f5841d00
Author: gregor herrmann <gregoa at debian.org>
Date: Mon Jan 2 23:54:52 2012 +0100
Use tiny debian/rules and debhelper compat level 8.
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+8
diff --git a/debian/control b/debian/control
index 3a52191..d01193a 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders: Noèl Köthe <noel at debian.org>
Standards-Version: 3.8.2
Vcs-Git: git://git.debian.org/pkg-perl/packages/crypt-ssleay.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/crypt-ssleay.git
-Build-Depends: debhelper (>> 5.0.0), perl (>> 5.8.1), libssl-dev (>=0.9.8), openssl
+Build-Depends: debhelper (>= 8), perl (>> 5.8.1), libssl-dev (>=0.9.8), openssl
Homepage: http://search.cpan.org/dist/Crypt-SSLeay/
Package: libcrypt-ssleay-perl
diff --git a/debian/rules b/debian/rules
index 770a180..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,68 +1,4 @@
-#! /usr/bin/make -f
-# -*-makefile-*-
-# debian/rules file for libcrypt-ssleay-perl
+#!/usr/bin/make -f
-PERL ?= /usr/bin/perl
-
-package := $(firstword $(shell dh_listpackages))
-prefix := $(CURDIR)/debian/$(package)/usr
-
-cflags := -g -Wall
-ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-cflags += -O2
-else
-cflags += -O0
-endif
-
-export CFLAGS=$(cflags)
-export CXXFLAGS=$(cflags)
-
-version := $(shell dpkg-parsechangelog | \
- sed -ne 's/^Version: *\([0-9]\+:\)*//p')
-
-tag:
- cvs tag -c -F $(subst .,_,debian_version_$(version))
-ifeq ($(findstring -,$(version)),)
- cvs tag -c -F $(subst .,_,upstream_version_$(version))
-endif
-
-build: build-stamp
-build-stamp:
- dh_testdir
- $(PERL) ./Makefile.PL --default INSTALLDIRS=vendor PERL=$(PERL)
- $(MAKE) LD_RUN_PATH=
- touch $@
-
-clean: checkroot
- rm -f build-stamp
- [ ! -f Makefile ] || $(MAKE) distclean
- dh_clean
-
-binary-indep: checkroot build
-
-binary-arch: checkroot build
- dh_clean
- dh_installdirs
-
- $(MAKE) pure_install PREFIX=$(prefix)
-
- dh_installdocs
- dh_installchangelogs Changes
-
- dh_strip
- dh_compress
- dh_fixperms
- dh_perl
- dh_shlibdeps
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-
-checkroot:
- dh_testdir
- dh_testroot
-
-.PHONY: binary binary-arch binary-indep clean checkroot build
+%:
+ dh $@
--
Debian packaging of Crypt-SSLeay CPAN distribution
More information about the Pkg-perl-cvs-commits
mailing list