diff options
author | Jeroen Roovers <jer@gentoo.org> | 2015-11-18 07:50:39 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2015-11-18 07:53:48 +0100 |
commit | 97c3914603cf96e3b2eddcf41fd4f6b030165238 (patch) | |
tree | 198fb4f41f76d233afdf9f6c65064842a3bcf3bb /dev-util/debhelper | |
parent | net-libs/courier-unicode: remove old (diff) | |
download | gentoo-97c3914603cf96e3b2eddcf41fd4f6b030165238.tar.gz gentoo-97c3914603cf96e3b2eddcf41fd4f6b030165238.tar.bz2 gentoo-97c3914603cf96e3b2eddcf41fd4f6b030165238.zip |
dev-util/debhelper: Version bump.
Package-Manager: portage-2.2.25
Diffstat (limited to 'dev-util/debhelper')
-rw-r--r-- | dev-util/debhelper/Manifest | 1 | ||||
-rw-r--r-- | dev-util/debhelper/debhelper-9.20151117.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/dev-util/debhelper/Manifest b/dev-util/debhelper/Manifest index 2424b16edaa1..5f319b8fe45d 100644 --- a/dev-util/debhelper/Manifest +++ b/dev-util/debhelper/Manifest @@ -1,3 +1,4 @@ DIST debhelper_9.20150101.tar.gz 545089 SHA256 fd8d81d71d1bb0ba4b58c517465551231dd60811b98c867e4344bc55ec6a45f2 SHA512 62c85f751627cf0bdac392c6e8c5298995030962b7753047414e740b3767d722c209329c9f0c3c07c94e82bbb7250c163ce49b681e268a0decdbd19b72ea132a WHIRLPOOL 31315544c3ee695a53ef2310ad69e59c68fb0b73399305b9fe57ceb7b01faab72995e01aed270300dd0fbaed2686a5b565a8a08cfc31c720c5baa2a6c475ac4e DIST debhelper_9.20151005.tar.xz 325420 SHA256 232776ecf0e7955ea4154edc92eb6450f5d57343c7da0de1a698077efaa50958 SHA512 d5e967a0bfa5c7cdb89099ef26ab566cea49ec0e1dce9cea1f626f32ac2f1b39aa2fa85adfa7acb6473322f4796cbfa1e7dfaff860a116a13d8a06db647a1f9c WHIRLPOOL 002ff3786e6ed27548c32a1bda7750ac5ef018d2002b24db1321c0ece074250edd0d3f8c857d8183f24ddae9c59c1243c42169f323c314b1df47653371caa6a0 DIST debhelper_9.20151116.tar.xz 329780 SHA256 2cfa5395d76f3a56dd165241b838752c9d5a346d132a5626c9e7e130df457138 SHA512 250ff2f3b312d8673e2f8fc936638e8e3d8cee4f282754d64c250b4fa503a8142b6524be4fcbb8eab0adcb2234264c0de6e36988a98a29c6abe8b1d03aa6a577 WHIRLPOOL 3946fc468ca4e050133f680bab089a0192bbc10babb21905332a2911357ab0299cc4e1ab07ec38231e58d3b7f1a441891bb2a38c5978bc90e61841f1dfab1a92 +DIST debhelper_9.20151117.tar.xz 329416 SHA256 9d1450da648cea3e580ccd47a06719829dc56694e4612174b37bf28d2f6d809b SHA512 87fd4308fe4dd4becb7fefca7c6de72e643a0742965519cf9f6ccf3fb19aabcb3ef04c85516ecb080ef9793292e1e28e5ff19948e7dddb2fb647e1f0765a7a66 WHIRLPOOL 5bc18375f3920b186e6c859bc00488d19a9f82bccdceea814349471794b79a923fee8d0619e2e4e5faf0cd35f8977f17b810953557f7f89eca5441be9642ab62 diff --git a/dev-util/debhelper/debhelper-9.20151117.ebuild b/dev-util/debhelper/debhelper-9.20151117.ebuild new file mode 100644 index 000000000000..9d5f19551da6 --- /dev/null +++ b/dev-util/debhelper/debhelper-9.20151117.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +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 http://joeyh.name/code/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 ) +" + +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 +} |