diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-10-24 15:21:29 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-10-24 15:34:34 +0200 |
commit | 0e44ba772033d13df57b661fa0981f1d2cbd9a7e (patch) | |
tree | c4619bc16b9ddf9908e548e1685aeaa82476e77f /dev-util/debhelper | |
parent | net-analyzer/prometheus: Version bump to 1.8.1 (diff) | |
download | gentoo-0e44ba772033d13df57b661fa0981f1d2cbd9a7e.tar.gz gentoo-0e44ba772033d13df57b661fa0981f1d2cbd9a7e.tar.bz2 gentoo-0e44ba772033d13df57b661fa0981f1d2cbd9a7e.zip |
dev-util/debhelper: Version bump.
Package-Manager: Portage-2.3.12, Repoman-2.3.3
Diffstat (limited to 'dev-util/debhelper')
-rw-r--r-- | dev-util/debhelper/Manifest | 1 | ||||
-rw-r--r-- | dev-util/debhelper/debhelper-10.10.3.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-util/debhelper/Manifest b/dev-util/debhelper/Manifest index 602fc8c54db7..9c1a784dfa61 100644 --- a/dev-util/debhelper/Manifest +++ b/dev-util/debhelper/Manifest @@ -1,3 +1,4 @@ +DIST debhelper_10.10.3.tar.xz 428548 SHA256 54a381b7bf70f5fa22afe33ccddb13785f26661f03b3ff8b98b7c2e50eb81902 SHA512 b1e78b4894285070f08833a84837ef1cbd8da6cfb04f43538944b9bfb7b9f56e9fe1f9f6ece42c1b4bc2abc6e421c68e42e2517f1d45f90511d213f690a6409d WHIRLPOOL d77bbafaca4b6c7d1752e174d078a03de6541536b15a9d2cf1f176f98836282b777b371c585f301b422b5b049e5615ffda0c6a0222bc2c91ca78c6a77b317481 DIST debhelper_10.9.1.tar.xz 423464 SHA256 62d44d209b11806358a04ac977913b33d60da69f5cb48b150ab4ccbd30e9f6af SHA512 0e34c3375776c9d2eebbfee76a8677c681342055b232dc8673d8fe91f9dd62e444309dca79fa819a901558cd80452a60d9a98d9cdf5c6955f3f1adcf117d91aa WHIRLPOOL e2160007d4c4a735a52e18bb5e0f83ad516cca8f0031b8d8d332644a8fbdfb9cfc35e7ce8a9b1767f4c97d3134ac5ecadf5d60c5ab003de975b2b1ae844fcebc DIST debhelper_10.9.2.tar.xz 424752 SHA256 510ba7c22d2fc3eace8f455e19ac2766fbbb90a0278e36a7c01f8dde3c1195ac SHA512 4ea6e63ea64c9fcc2efbabe1419b5616a724cb9bbdb7f08a7aac20576aeae284a09776b087c35aabae49f581b1901a3c37e662e676debad4fbd6c35052331188 WHIRLPOOL eef7b32d893d765bfec2e8e08f1e96af7f010c4ccc6b6e0c0dd241c9726ef8abeebfc44abb028164867e5a77e954252e7fa52b0350df98f17319b9a7a5a51d37 DIST debhelper_10.9.tar.xz 420736 SHA256 85905a4c7d36137e1d51df064c5177c76535b37fcd4b7d28c68622c877ddab41 SHA512 0efec68a6a01530e57f220593e66ff9f527aa57deb1df025728a52754e32ea6a4f5d57e9c8fb4fb2eb0c584cd9951dd69a92aeaf0c274806c17473ef9926ac61 WHIRLPOOL ce83de4eb9fe28b5f1e3d1a2ac7bddab19c8dc0c6e8852a7d9c5c01b2c4a95848cb05a15248fc8024168ed8042e1a74587821c0c6785baf2a2c1b722c6efcdaa diff --git a/dev-util/debhelper/debhelper-10.10.3.ebuild b/dev-util/debhelper/debhelper-10.10.3.ebuild new file mode 100644 index 000000000000..c4f2a7b166cc --- /dev/null +++ b/dev-util/debhelper/debhelper-10.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="https://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 ~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 +} |