diff options
author | Jeroen Roovers <jer@gentoo.org> | 2016-01-02 17:33:40 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2016-01-02 17:33:40 +0100 |
commit | 98a61ef48596934c007b94861e3cd7eb1594f66b (patch) | |
tree | 063a2ce4a9006976c23ef192e81fd31e0644c885 /dev-util | |
parent | dev-ruby/rspec-mocks: Stable for PPC64 (bug #565114). (diff) | |
download | gentoo-98a61ef48596934c007b94861e3cd7eb1594f66b.tar.gz gentoo-98a61ef48596934c007b94861e3cd7eb1594f66b.tar.bz2 gentoo-98a61ef48596934c007b94861e3cd7eb1594f66b.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.20151225.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/dev-util/debhelper/Manifest b/dev-util/debhelper/Manifest index 36a9cc54961b..802943d3ab30 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.20151117.tar.xz 329416 SHA256 9d1450da648cea3e580ccd47a06719829dc56694e4612174b37bf28d2f6d809b SHA512 87fd4308fe4dd4becb7fefca7c6de72e643a0742965519cf9f6ccf3fb19aabcb3ef04c85516ecb080ef9793292e1e28e5ff19948e7dddb2fb647e1f0765a7a66 WHIRLPOOL 5bc18375f3920b186e6c859bc00488d19a9f82bccdceea814349471794b79a923fee8d0619e2e4e5faf0cd35f8977f17b810953557f7f89eca5441be9642ab62 DIST debhelper_9.20151126.tar.xz 329348 SHA256 354afe449830e7bf4008dbd92183b137f54cb9e6eb4efe1187364ebd8c3af470 SHA512 9993f5f9e0d86779460963d980068c35447781541cd3f6484c24e71ef1ac41ac6799088b493642ca47a169fefcabc0acb16b7089c4148f13efd9e5b800de2cb0 WHIRLPOOL 2bac8d05b852c7b32cecdf1ac1304c457dd75b0c93e9af15811c986da41889d45ec19a66292462cc58535bf8509c8dc4667889058b30d5f455132e710a1ea28e +DIST debhelper_9.20151225.tar.xz 331624 SHA256 9c82f3543fe97a3ea4ddfda630aeac8e1c6d5ab7f7ea0c98c6cc8007731b9690 SHA512 b18ce3cdc2f24f06e75226d6687166c6567b80d5f40d2584afd4a4cffcacaf6e410b32206c37adc4dedec75b894722dd61f081344dd945a8de277a95859d1e4f WHIRLPOOL 0bbdc573a93665b59a3166361aea3c667907677a522ea67289677a849212fcda5e9fe8b182bd9863c20f49ccd0897e2269d786d21dde747b3120e74901516983 diff --git a/dev-util/debhelper/debhelper-9.20151225.ebuild b/dev-util/debhelper/debhelper-9.20151225.ebuild new file mode 100644 index 000000000000..9d5f19551da6 --- /dev/null +++ b/dev-util/debhelper/debhelper-9.20151225.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 +} |