summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-07-23 11:32:19 +0200
committerJeroen Roovers <jer@gentoo.org>2019-07-23 11:33:21 +0200
commit0aac2ffc5a944af7c6ad43596dd271cdd109e0e8 (patch)
treef4033a4831ca7700308f8f853091ba7a7bd37e93 /dev-util/debhelper
parentdev-python/pypcap: Version 1.2.3 (diff)
downloadgentoo-0aac2ffc5a944af7c6ad43596dd271cdd109e0e8.tar.gz
gentoo-0aac2ffc5a944af7c6ad43596dd271cdd109e0e8.tar.bz2
gentoo-0aac2ffc5a944af7c6ad43596dd271cdd109e0e8.zip
dev-util/debhelper: Version 12.2.3
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'dev-util/debhelper')
-rw-r--r--dev-util/debhelper/Manifest1
-rw-r--r--dev-util/debhelper/debhelper-12.2.3.ebuild73
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-util/debhelper/Manifest b/dev-util/debhelper/Manifest
index d547332b7d36..343d7b724832 100644
--- a/dev-util/debhelper/Manifest
+++ b/dev-util/debhelper/Manifest
@@ -1,3 +1,4 @@
DIST debhelper_12.1.1.tar.xz 483732 BLAKE2B 39938f9ec0793154da6405c1b0ef2a8a10a10753475b09f8fbc6e7411457713eb7bc035dfc21f9b7b9f82ec276674802c0cd7599252956cf455cc8d203070a9c SHA512 ab006450258c6c3d5c89bddb8bc5a87d61d80e8232cbbd2f15a32d1045d1fa9f1858df536d8cf813048f4e755a8e5bca765f1da7800ebf8f1237096e659d9ddd
DIST debhelper_12.1.tar.xz 483568 BLAKE2B 3ffefced2759224fbc9f00c05be03379bf34f8f954be871700b0467629f2437c890ea5f334fc1cdb47baf9ec0e19c886cbbc881cbda39733374a4e09bba3e413 SHA512 557db22d6aac8953cdc41fb6fcb0c06566154ac30aeade4df6c100534505c79d9c34d1f8cc3b41e83740cbe90eb2bf18b21fc0fe49cdbee6d709949c7689ebfb
+DIST debhelper_12.2.3.tar.xz 492468 BLAKE2B 2771364f0f531b29d676ea5dd3a7bb0a138b6fea3b11fc92d4c5dc19748e3b029d6d620e650cd997d3b164913be992868727c8f37e3194d7d89e8bd846a811aa SHA512 83acc2961dd964cfc0cda67b523fe5b41385e35f3884b6cf02ae6fc57c00e5b0633a0a5a57feb0fbd1898cb7028271102f291c761e58006449c2b278191c0af3
DIST debhelper_9.20160814.tar.xz 344328 BLAKE2B 38791ab3dfb74d12e44226b79a377889911a08505cdb45cc0a6e653906edbafcac1038d1d9ff9f5fd9f714ed36681562ce7fb1c9c1109a8528523100128fced6 SHA512 63072ba35ec8c62ee4c4d44833712925264c808a91f1522ef6a73377f2da3d11b285a21ad39158fd44693c801916189261186c8c7b28096719328a81a0a65f62
diff --git a/dev-util/debhelper/debhelper-12.2.3.ebuild b/dev-util/debhelper/debhelper-12.2.3.ebuild
new file mode 100644
index 000000000000..e546013a4fd6
--- /dev/null
+++ b/dev-util/debhelper/debhelper-12.2.3.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2019 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
+}