diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-05-11 09:01:41 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-05-11 09:01:41 +0200 |
commit | 2bd35a171691d6a46667cf8de8dd077fd4050a6f (patch) | |
tree | 26cb258222bc11f37b833fe76ad8bc0ef138d5d3 /dev-util/debhelper | |
parent | x11-drivers/nvidia-drivers: Version bump. (diff) | |
download | gentoo-2bd35a171691d6a46667cf8de8dd077fd4050a6f.tar.gz gentoo-2bd35a171691d6a46667cf8de8dd077fd4050a6f.tar.bz2 gentoo-2bd35a171691d6a46667cf8de8dd077fd4050a6f.zip |
dev-util/debhelper: Version bump.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-util/debhelper')
-rw-r--r-- | dev-util/debhelper/Manifest | 1 | ||||
-rw-r--r-- | dev-util/debhelper/debhelper-10.3.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-util/debhelper/Manifest b/dev-util/debhelper/Manifest index edb6ebff577f..838fb6c3ec3c 100644 --- a/dev-util/debhelper/Manifest +++ b/dev-util/debhelper/Manifest @@ -1,4 +1,5 @@ DIST debhelper_10.2.4.tar.xz 357664 SHA256 72ffc3327baae880b10f6cf519e9d848734d853905a3b79948a67019048e8d10 SHA512 62b4659ba745d176581746a496d9cb1f213bdff93cacfaa1aa9a67b2b78bf5cfc66dc9babc089de0de1836767902840204d62c67c14362cb0cf9be1c06381100 WHIRLPOOL 50a98d7a105105ee0e465b73885cd8737acb675d6f03f0d1d65febae8018b734f82efaf1147fc4d84bb01bcf5a48ffc1629f4cbb5aa9655e4d1ef5f8dde8df2d DIST debhelper_10.2.5.tar.xz 393740 SHA256 c376f523ab9c1fcdfb371e92eb419519dcbaa6800d10d5e6ec80e583c9e4d054 SHA512 67a6a548bd9482c8f25d429bd4bdbe7581326926c4b4d280b34c78a487fc8c0b6c26ed05aac3d2855b748a6542ecc167e37ea333e50e9bb1e3ee27a7d91c84d3 WHIRLPOOL 35f8352c7f1b75b57d71795acaacc3561f426bd5ac34830717da97dfb9afcbc0ec6bc07ca5ea0bf88b4cb5a806b7de0f867212bd7e1e79642be20d7556e72dda +DIST debhelper_10.3.tar.xz 398764 SHA256 d17c6d1d672113cc869b079015517034516238ec83c447e3be39dd9f10ebf32c SHA512 795c53f966a43e5e9abdd28de121fba71bb07694b87b3dca7a0dd2b395655865397f5d4f0e6e2990638a1fcf7cad8cb75d2b30b803d5a9056fdb1e8604845591 WHIRLPOOL 9bc19c32b9ecbda16b610fcf0dea96835a9c159fe86c1b80cce7370ec17ce1d6e442b746033b2202c06e174369f73eee6d72c986a21cb398328093651068137b DIST debhelper_9.20150101.tar.gz 545089 SHA256 fd8d81d71d1bb0ba4b58c517465551231dd60811b98c867e4344bc55ec6a45f2 SHA512 62c85f751627cf0bdac392c6e8c5298995030962b7753047414e740b3767d722c209329c9f0c3c07c94e82bbb7250c163ce49b681e268a0decdbd19b72ea132a WHIRLPOOL 31315544c3ee695a53ef2310ad69e59c68fb0b73399305b9fe57ceb7b01faab72995e01aed270300dd0fbaed2686a5b565a8a08cfc31c720c5baa2a6c475ac4e DIST debhelper_9.20160814.tar.xz 344328 SHA256 2834a7c1dbeafd9402ea68948c815dab19d903503c45fd70e676269fccd359c0 SHA512 63072ba35ec8c62ee4c4d44833712925264c808a91f1522ef6a73377f2da3d11b285a21ad39158fd44693c801916189261186c8c7b28096719328a81a0a65f62 WHIRLPOOL 334f0aa8075896ec13a061b9841adb5f2b7c5fa6996b507785f50389c86c48e3c89a84ff1049ae7d7cbe4876b649010f892f54f1074ecafd76061bf0588e65d6 diff --git a/dev-util/debhelper/debhelper-10.3.ebuild b/dev-util/debhelper/debhelper-10.3.ebuild new file mode 100644 index 000000000000..b776562d411f --- /dev/null +++ b/dev-util/debhelper/debhelper-10.3.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="http://packages.qa.debian.org/d/debhelper.html" +SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~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 +} |