summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-12-19 11:27:59 +0100
committerJeroen Roovers <jer@gentoo.org>2017-12-19 11:27:59 +0100
commitd84def6806fe9938b235fa2037711af6e319f7e6 (patch)
tree2e5b3f8f8940ab73b540b362b1f8c46fc30422f5 /dev-util
parentdev-db/redis: version bump to 4.0.6. (diff)
downloadgentoo-d84def6806fe9938b235fa2037711af6e319f7e6.tar.gz
gentoo-d84def6806fe9938b235fa2037711af6e319f7e6.tar.bz2
gentoo-d84def6806fe9938b235fa2037711af6e319f7e6.zip
dev-util/debhelper: Version bump.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/debhelper/Manifest1
-rw-r--r--dev-util/debhelper/debhelper-11.ebuild73
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-util/debhelper/Manifest b/dev-util/debhelper/Manifest
index 77fb9e1d74ba..4fe11ced2ab6 100644
--- a/dev-util/debhelper/Manifest
+++ b/dev-util/debhelper/Manifest
@@ -1,4 +1,5 @@
DIST debhelper_10.10.5.tar.xz 429752 BLAKE2B 34fffc6e60d519fca78f5d82d4e5d694abc91577a897058ecc26e8f89169ed3548e5a3c6c5fef46e85dc6dc58bc0e2583a261c2be5ea2a34f63b51fd9553f32b SHA512 0bd4310318f85039326b516ba854193b72d850b9e11661233b401c7ba45be3137ee67d1c894b227a8432de025a62e9b176dd5dcb194c739f29007d9e73b32448
DIST debhelper_10.10.8.tar.xz 430984 BLAKE2B e00c7e01ecc41c7a128fb27c1ac8f9820d822cf6ac292125ce91a17cbb79e6de0b05f816ad18d2828d97bc07cd6c810b0a52bc4785291d7569275ceb92abfc7e SHA512 90f03a354647e55614b2f13b869525a4800fd347cce2ed370be9e8591219c353170d04dcf976c52d64194321410cc4fbdb042166145479ee4bae833009d44100
DIST debhelper_10.10.9.tar.xz 431480 BLAKE2B 579a88a45aa74dd8097984bcfba16efb523f8ef5fb7cef8d43433cecddafafabbcb717439aedb847940c382da4f86d7448dbddecd66cbe9a567a9e389476c512 SHA512 45c1357c0e34083f6bad070973d58bdc5388cf7dc71152fce684e38158674baeb436e2d7577d3b5e43918e0788d80968ca6e6e1ee303ea4d3b79be3d55f32e9b
+DIST debhelper_11.tar.xz 439268 BLAKE2B 45c1eeb046a6fbc59b814f696c7320b344ba3cf1ba47b02e9aafd38f88e72943eaba0c0625115fc35cdce9cec0f01232278956644f02b632beda2e2d052ca1aa SHA512 12eabb2f02df24a2c1d8db8e1d88ecec2fce1547c21e99f99bf89f5a44ebd71d09ebbb7e19e0e30ca7e2f17b252769c79968d81989ab7330f870b7ee42e13521
DIST debhelper_9.20160814.tar.xz 344328 BLAKE2B 38791ab3dfb74d12e44226b79a377889911a08505cdb45cc0a6e653906edbafcac1038d1d9ff9f5fd9f714ed36681562ce7fb1c9c1109a8528523100128fced6 SHA512 63072ba35ec8c62ee4c4d44833712925264c808a91f1522ef6a73377f2da3d11b285a21ad39158fd44693c801916189261186c8c7b28096719328a81a0a65f62
diff --git a/dev-util/debhelper/debhelper-11.ebuild b/dev-util/debhelper/debhelper-11.ebuild
new file mode 100644
index 000000000000..526db42385e6
--- /dev/null
+++ b/dev-util/debhelper/debhelper-11.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Collection of programs that can be used to automate common tasks in debian/rules"
+HOMEPAGE="https://tracker.debian.org/pkg/debhelper"
+SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux"
+IUSE="test"
+DH_LINGUAS=( de es fr )
+IUSE+=" ${DH_LINGUAS[@]/#/linguas_}"
+
+NLS_DEPEND=$(
+ printf "linguas_%s? ( >=app-text/po4a-0.24 )\n" ${DH_LINGUAS[@]}
+)
+
+RDEPEND="
+ >=dev-lang/perl-5.10:=
+ >=app-arch/dpkg-1.17
+ dev-perl/TimeDate
+ virtual/perl-Getopt-Long
+"
+DEPEND="
+ ${RDEPEND}
+ ${NLS_DEPEND}
+ test? (
+ dev-perl/Test-Pod
+ sys-apps/fakeroot
+ )
+"
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+ tc-export CC
+
+ local LANGS="" USE_NLS=no lingua
+ for lingua in ${DH_LINGUAS[@]}; do
+ if use linguas_${lingua}; then
+ LANGS+=" ${lingua}"
+ USE_NLS=yes
+ fi
+ done
+
+ emake USE_NLS="${USE_NLS}" LANGS="${LANGS}" build
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+ dodoc doc/* debian/changelog
+ docinto examples
+ dodoc examples/*
+ local lingua
+ for manfile in *.1 *.7 ; do
+ for lingua in ${DH_LINGUAS[@]}; do
+ case ${manfile} in
+ *.${lingua}.?)
+ use linguas_${lingua} \
+ && cp ${manfile} "${T}"/${manfile/.${lingua}/} \
+ && doman -i18n=${lingua} "${T}"/${manfile/.${lingua}/}
+ ;;
+ *)
+ doman ${manfile}
+ ;;
+ esac
+ done
+ done
+}