diff options
author | Jeroen Roovers <jer@gentoo.org> | 2015-12-16 07:45:19 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2015-12-16 07:45:19 +0100 |
commit | a317d6624cc51e551df5818c340a37ccbe692294 (patch) | |
tree | e4c452c034befec960997db6e3c2fd4662897e0a /dev-util | |
parent | net-misc/apt-cacher-ng: Old. (diff) | |
download | gentoo-a317d6624cc51e551df5818c340a37ccbe692294.tar.gz gentoo-a317d6624cc51e551df5818c340a37ccbe692294.tar.bz2 gentoo-a317d6624cc51e551df5818c340a37ccbe692294.zip |
dev-util/debhelper: Version bump.
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/debhelper/Manifest | 1 | ||||
-rw-r--r-- | dev-util/debhelper/debhelper-9.20151126.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/dev-util/debhelper/Manifest b/dev-util/debhelper/Manifest index 5f319b8fe45d..e58330bf7b76 100644 --- a/dev-util/debhelper/Manifest +++ b/dev-util/debhelper/Manifest @@ -2,3 +2,4 @@ DIST debhelper_9.20150101.tar.gz 545089 SHA256 fd8d81d71d1bb0ba4b58c517465551231 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 +DIST debhelper_9.20151126.tar.xz 329348 SHA256 354afe449830e7bf4008dbd92183b137f54cb9e6eb4efe1187364ebd8c3af470 SHA512 9993f5f9e0d86779460963d980068c35447781541cd3f6484c24e71ef1ac41ac6799088b493642ca47a169fefcabc0acb16b7089c4148f13efd9e5b800de2cb0 WHIRLPOOL 2bac8d05b852c7b32cecdf1ac1304c457dd75b0c93e9af15811c986da41889d45ec19a66292462cc58535bf8509c8dc4667889058b30d5f455132e710a1ea28e diff --git a/dev-util/debhelper/debhelper-9.20151126.ebuild b/dev-util/debhelper/debhelper-9.20151126.ebuild new file mode 100644 index 000000000000..9d5f19551da6 --- /dev/null +++ b/dev-util/debhelper/debhelper-9.20151126.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 +} |