diff options
author | Yuri Vasilevski <yvasilev@gentoo.org> | 2008-06-09 17:10:45 +0000 |
---|---|---|
committer | Yuri Vasilevski <yvasilev@gentoo.org> | 2008-06-09 17:10:45 +0000 |
commit | c91ecc3dd4b01839741c4368ba0aff61b585d5d7 (patch) | |
tree | 253fc779e2b5ab61d21a1e2873b1cc22d83006cf /dev-util/debhelper | |
parent | Add live ebuild (based on ebuild from ToeiRei) (diff) | |
download | gentoo-2-c91ecc3dd4b01839741c4368ba0aff61b585d5d7.tar.gz gentoo-2-c91ecc3dd4b01839741c4368ba0aff61b585d5d7.tar.bz2 gentoo-2-c91ecc3dd4b01839741c4368ba0aff61b585d5d7.zip |
Version dump.
(Portage version: 2.1.5.3)
Diffstat (limited to 'dev-util/debhelper')
-rw-r--r-- | dev-util/debhelper/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/debhelper/debhelper-7.0.10.ebuild | 65 |
2 files changed, 72 insertions, 1 deletions
diff --git a/dev-util/debhelper/ChangeLog b/dev-util/debhelper/ChangeLog index 35ddbb558ae9..98625ae50025 100644 --- a/dev-util/debhelper/ChangeLog +++ b/dev-util/debhelper/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/debhelper # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/debhelper/ChangeLog,v 1.2 2008/05/29 15:35:09 yvasilev Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/debhelper/ChangeLog,v 1.3 2008/06/09 17:10:45 yvasilev Exp $ + +*debhelper-7.0.10 (09 Jun 2008) + + 09 Jun 2008; Yuri Vasilevski <yvasilev@gentoo.org> + +debhelper-7.0.10.ebuild: + Version dump. *debhelper-7.0.9 (29 May 2008) diff --git a/dev-util/debhelper/debhelper-7.0.10.ebuild b/dev-util/debhelper/debhelper-7.0.10.ebuild new file mode 100644 index 000000000000..ec279c73e247 --- /dev/null +++ b/dev-util/debhelper/debhelper-7.0.10.ebuild @@ -0,0 +1,65 @@ +# Copyright 2008-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/debhelper/debhelper-7.0.10.ebuild,v 1.1 2008/06/09 17:10:45 yvasilev Exp $ + +inherit eutils + +DESCRIPTION="A collection of programs that can be used in a debian/rules file to automate common tasks related to building debian packages." +HOMEPAGE="http://packages.qa.debian.org/d/debhelper.html http://kitenet.net/~joey/code/debhelper.html" +SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~s390 ~sh ~sparc ~x86" +IUSE="nls linguas_es linguas_fr" + +RDEPEND="app-arch/dpkg + dev-perl/TimeDate + dev-lang/perl" + +DEPEND="${RDEPEND} + nls? ( >=app-text/po4a-0.24 )" + +S="${WORKDIR}"/${PN} + +PATCH_VER=7.0.9 + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${PN}-${PATCH_VER}-conditional-nls.patch +} + +src_compile() { + local USE_NLS=no LANGS="" + + use nls && USE_NLS=yes + + use linguas_es && LANGS="${LANGS} es" + use linguas_fr && LANGS="${LANGS} fr" + + emake USE_NLS=${USE_NLS} LANGS="${LANGS}" build \ + || die "Compilation failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "Installation failed" + dodoc doc/* debian/changelog + docinto examples + dodoc examples/* + for manfile in *.1 *.7 ; do + case ${manfile} in + *.es.?) use linguas_es \ + && cp ${manfile} "${T}"/${manfile/.es/} \ + && doman -i18n=es "${T}"/${manfile/.es/} + ;; + *.fr.?) use linguas_fr \ + && cp ${manfile} "${T}"/${manfile/.fr/} \ + && doman -i18n=fr "${T}"/${manfile/.fr/} + ;; + *) doman ${manfile} + ;; + esac + done +} |