mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-util/debhelper: Old.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
This commit is contained in:
parent
2bd35a1716
commit
e13c40111e
@ -1,4 +1,3 @@
|
||||
DIST debhelper_10.2.4.tar.xz 357664 SHA256 72ffc3327baae880b10f6cf519e9d848734d853905a3b79948a67019048e8d10 SHA512 62b4659ba745d176581746a496d9cb1f213bdff93cacfaa1aa9a67b2b78bf5cfc66dc9babc089de0de1836767902840204d62c67c14362cb0cf9be1c06381100 WHIRLPOOL 50a98d7a105105ee0e465b73885cd8737acb675d6f03f0d1d65febae8018b734f82efaf1147fc4d84bb01bcf5a48ffc1629f4cbb5aa9655e4d1ef5f8dde8df2d
|
||||
DIST debhelper_10.2.5.tar.xz 393740 SHA256 c376f523ab9c1fcdfb371e92eb419519dcbaa6800d10d5e6ec80e583c9e4d054 SHA512 67a6a548bd9482c8f25d429bd4bdbe7581326926c4b4d280b34c78a487fc8c0b6c26ed05aac3d2855b748a6542ecc167e37ea333e50e9bb1e3ee27a7d91c84d3 WHIRLPOOL 35f8352c7f1b75b57d71795acaacc3561f426bd5ac34830717da97dfb9afcbc0ec6bc07ca5ea0bf88b4cb5a806b7de0f867212bd7e1e79642be20d7556e72dda
|
||||
DIST debhelper_10.3.tar.xz 398764 SHA256 d17c6d1d672113cc869b079015517034516238ec83c447e3be39dd9f10ebf32c SHA512 795c53f966a43e5e9abdd28de121fba71bb07694b87b3dca7a0dd2b395655865397f5d4f0e6e2990638a1fcf7cad8cb75d2b30b803d5a9056fdb1e8604845591 WHIRLPOOL 9bc19c32b9ecbda16b610fcf0dea96835a9c159fe86c1b80cce7370ec17ce1d6e442b746033b2202c06e174369f73eee6d72c986a21cb398328093651068137b
|
||||
DIST debhelper_9.20150101.tar.gz 545089 SHA256 fd8d81d71d1bb0ba4b58c517465551231dd60811b98c867e4344bc55ec6a45f2 SHA512 62c85f751627cf0bdac392c6e8c5298995030962b7753047414e740b3767d722c209329c9f0c3c07c94e82bbb7250c163ce49b681e268a0decdbd19b72ea132a WHIRLPOOL 31315544c3ee695a53ef2310ad69e59c68fb0b73399305b9fe57ceb7b01faab72995e01aed270300dd0fbaed2686a5b565a8a08cfc31c720c5baa2a6c475ac4e
|
||||
|
||||
@ -1,73 +0,0 @@
|
||||
# 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="http://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 ~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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user