diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-11-22 00:38:10 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-11-22 00:42:32 +0100 |
commit | 4d0237e6cc7e5cd1592a9a323f04d8e90347025b (patch) | |
tree | 620d7aed69082ce838b00e3f99abb72b81827637 /dev-util/debhelper | |
parent | dev-util/debootstrap: Old (diff) | |
download | gentoo-4d0237e6cc7e5cd1592a9a323f04d8e90347025b.tar.gz gentoo-4d0237e6cc7e5cd1592a9a323f04d8e90347025b.tar.bz2 gentoo-4d0237e6cc7e5cd1592a9a323f04d8e90347025b.zip |
dev-util/debhelper: Version 11.5.3
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'dev-util/debhelper')
-rw-r--r-- | dev-util/debhelper/Manifest | 1 | ||||
-rw-r--r-- | dev-util/debhelper/debhelper-11.5.3.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-util/debhelper/Manifest b/dev-util/debhelper/Manifest index 63b7b20f0524..30e34f241b78 100644 --- a/dev-util/debhelper/Manifest +++ b/dev-util/debhelper/Manifest @@ -1,4 +1,5 @@ DIST debhelper_11.4.1.tar.xz 475072 BLAKE2B 8220e2e199b174d811c8bf3dd7d1dc34a9d4a371f2ca249c9c210f4abb18e1de29692cbc094a9bdcf17aa2b8b917ced2736109fa8683d128cf50a95233888a62 SHA512 658456cfed3f8549598110b9dd3b9cfec52cddb28d85911d59ee973fbcb8f40b2f430224f48a0a3767a21bca977fface873125ba63f46290b7b696286d53749e DIST debhelper_11.5.1.tar.xz 476888 BLAKE2B d75d45d0ce1b91537822b07c85cd32d9c797d6c0c12580d72c44466cd856d5bb5e1b26eefad0f0cd9cbf361b6df046f0eefd962af05b6607dd10d9f94a266b3c SHA512 4bf296d0a61367a554f2fa50ebae09054a544311260532f870f7338cafd67381f85eb2095db01283cfa4ff186d5629e8284413a0e43076b2b1f53b5f3424e3b1 +DIST debhelper_11.5.3.tar.xz 478232 BLAKE2B 18ddbaf99d06d8305f5268448144f9149d3cfe09e22e89e6a3f88bf8fe315fd6cc6c863f2c832f47b54bbff3626198768563e321fc3eed37dfa199910c3ba60c SHA512 336da776cb8be7d9220985d04b8277466514b9daaec91ce5e905c63867b4db103d182212a245c47810908c213fc2fed6ed0cc9e5366be2f017d18c5b47437cdf DIST debhelper_11.5.tar.xz 477084 BLAKE2B 0d32eae102fbb91a42e4ed5d5c8f2456dad28526d2b7e89c6a9fee7a85f6fea4241f1e4c9303b2324806a98c33d161a6ca1aa5d4dbe2f659b377b532629bd299 SHA512 268b03bc9347dc2f396c38e1cbb0f7c8ca3bab765dca72bf5a9a21c26686445fb550daa92586ddae97858ca03fc3210440b4efe87c319ca045cc743ff5ad6af3 DIST debhelper_9.20160814.tar.xz 344328 BLAKE2B 38791ab3dfb74d12e44226b79a377889911a08505cdb45cc0a6e653906edbafcac1038d1d9ff9f5fd9f714ed36681562ce7fb1c9c1109a8528523100128fced6 SHA512 63072ba35ec8c62ee4c4d44833712925264c808a91f1522ef6a73377f2da3d11b285a21ad39158fd44693c801916189261186c8c7b28096719328a81a0a65f62 diff --git a/dev-util/debhelper/debhelper-11.5.3.ebuild b/dev-util/debhelper/debhelper-11.5.3.ebuild new file mode 100644 index 000000000000..49deff4eb2c9 --- /dev/null +++ b/dev-util/debhelper/debhelper-11.5.3.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit eutils toolchain-funcs + +DESCRIPTION="Collection of programs that can be used to automate common tasks in debian/rules" +HOMEPAGE="https://tracker.debian.org/pkg/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_LANGS=( de es fr ) +IUSE+=" ${DH_LANGS[@]/#/l10n_}" + +NLS_DEPEND=$( + printf "l10n_%s? ( >=app-text/po4a-0.24 )\n" ${DH_LANGS[@]} +) + +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 lang + for lang in ${DH_LANGS[@]}; do + if use l10n_${lang}; then + LANGS+=" ${lang}" + 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 lang + for manfile in *.1 *.7 ; do + for lang in ${DH_LANGS[@]}; do + case ${manfile} in + *.${lang}.?) + use l10n_${lang} \ + && cp ${manfile} "${T}"/${manfile/.${lang}/} \ + && doman -i18n=${lang} "${T}"/${manfile/.${lang}/} + ;; + *) + doman ${manfile} + ;; + esac + done + done +} |