diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-09-14 22:26:13 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-09-14 22:26:13 +0200 |
commit | 3682118d4938728aaab2b932cabc6534825f6e66 (patch) | |
tree | 346630589747b976bc9c061b7cc09f8b7ed4debf /dev-util/debhelper | |
parent | virtual/libudev: stable 232 for hppa, bug #623556 (thanks to Rolf Eike Beer) (diff) | |
download | gentoo-3682118d4938728aaab2b932cabc6534825f6e66.tar.gz gentoo-3682118d4938728aaab2b932cabc6534825f6e66.tar.bz2 gentoo-3682118d4938728aaab2b932cabc6534825f6e66.zip |
dev-util/debhelper: Version bump.
Package-Manager: Portage-2.3.8, 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.8.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-util/debhelper/Manifest b/dev-util/debhelper/Manifest index 10567c2d0c17..8def023c7cce 100644 --- a/dev-util/debhelper/Manifest +++ b/dev-util/debhelper/Manifest @@ -1,3 +1,4 @@ DIST debhelper_10.6.4.tar.xz 412768 SHA256 aa11ea77ce605f38318eb3265bdea81ce7113e6fff66c8bd15fc542b64583761 SHA512 87e0fb17fc1662350548b2dae5ff845c441709d2dc5cb47f204a82a39f0ba70bab28dea15c6db9e33434ce8590ffb4c14e9b906e2b64c076b430c10d4cc7e551 WHIRLPOOL 2e3f39ae9695100c24f26d1a9df388e852fbc22c574e7aff044388a6228781e490b0abe41ee0ec682f048705dd432784094e43ee7669b95b9a72c80cab21bd8e DIST debhelper_10.7.2.tar.xz 416368 SHA256 680d7b420f513ce26b7a2056d1be94739c19729312aa9cda6532298a1485e57b SHA512 9e45c91a8909f10dde814486585aea57407be39127371d891d3f6cab5579331741f2ccea7627b270debf2a77d982f089e9345788683382048d3aa4544fa5a21a WHIRLPOOL 4faea0089a9aae2d581c9329c3ed8c1113dfe5015ee6cd31a993325ededdf2d3841250c317b68b400ac6e2a8e6ab5a3a13fcded8fbb32549beda421bf275be82 +DIST debhelper_10.8.tar.xz 418392 SHA256 15fd4ffa30657cffab6cd7a3aeff2429a64e9c80745e96ecdedc1360f1501ab2 SHA512 c867eaedcd6a31befd8bfe6b91d7aee68f0f210baacde4e709c66b86ffa8479e4f635270f9cdfff19cc9aea3c41c645679a47af4eed15308c2808df9b818ea86 WHIRLPOOL 73be55020fa026b7e90d20e1b64ee450af472b3db17a2fad6ca6063ac3c1cff98cfe4f8f33d6d94c844fe2d74588d0f1fb64132749133b7077ba64896f227dbe DIST debhelper_9.20160814.tar.xz 344328 SHA256 2834a7c1dbeafd9402ea68948c815dab19d903503c45fd70e676269fccd359c0 SHA512 63072ba35ec8c62ee4c4d44833712925264c808a91f1522ef6a73377f2da3d11b285a21ad39158fd44693c801916189261186c8c7b28096719328a81a0a65f62 WHIRLPOOL 334f0aa8075896ec13a061b9841adb5f2b7c5fa6996b507785f50389c86c48e3c89a84ff1049ae7d7cbe4876b649010f892f54f1074ecafd76061bf0588e65d6 diff --git a/dev-util/debhelper/debhelper-10.8.ebuild b/dev-util/debhelper/debhelper-10.8.ebuild new file mode 100644 index 000000000000..c4f2a7b166cc --- /dev/null +++ b/dev-util/debhelper/debhelper-10.8.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 +} |