diff options
author | Yuri Vasilevski <yvasilev@gentoo.org> | 2008-05-16 20:25:18 +0000 |
---|---|---|
committer | Yuri Vasilevski <yvasilev@gentoo.org> | 2008-05-16 20:25:18 +0000 |
commit | d6f5c3cb5dbebafdedb830663686e0bf6fd1d725 (patch) | |
tree | 1a93b0fb00743639c74e900506a54a1664fedff5 /app-arch | |
parent | ppc stable, bug #221197 (diff) | |
download | gentoo-2-d6f5c3cb5dbebafdedb830663686e0bf6fd1d725.tar.gz gentoo-2-d6f5c3cb5dbebafdedb830663686e0bf6fd1d725.tar.bz2 gentoo-2-d6f5c3cb5dbebafdedb830663686e0bf6fd1d725.zip |
Initial import.
(Portage version: 2.1.5)
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/debhelper/ChangeLog | 11 | ||||
-rw-r--r-- | app-arch/debhelper/Manifest | 5 | ||||
-rw-r--r-- | app-arch/debhelper/debhelper-7.0.8.ebuild | 63 | ||||
-rw-r--r-- | app-arch/debhelper/files/debhelper-7.0.8-conditional-nls.patch | 33 | ||||
-rw-r--r-- | app-arch/debhelper/metadata.xml | 9 |
5 files changed, 121 insertions, 0 deletions
diff --git a/app-arch/debhelper/ChangeLog b/app-arch/debhelper/ChangeLog new file mode 100644 index 000000000000..5f4c9366efe3 --- /dev/null +++ b/app-arch/debhelper/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for app-arch/debhelper +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/debhelper/ChangeLog,v 1.1 2008/05/16 20:25:17 yvasilev Exp $ + +*debhelper-7.0.8 (16 May 2008) + + 16 May 2008; Yuri Vasilevski <yvasilev@gentoo.org> + +files/debhelper-7.0.8-conditional-nls.patch, +metadata.xml, + +debhelper-7.0.8.ebuild: + Initial import. + diff --git a/app-arch/debhelper/Manifest b/app-arch/debhelper/Manifest new file mode 100644 index 000000000000..91b41b87723b --- /dev/null +++ b/app-arch/debhelper/Manifest @@ -0,0 +1,5 @@ +AUX debhelper-7.0.8-conditional-nls.patch 1151 RMD160 e58ded2daf651d327f726c66a828ed329cd1b818 SHA1 6e306e0315552041ea095592030738f9c64aafcf SHA256 f9b9117e1ddbdedb8019740c19bbee0a762eb3ecacf61b6d4ec18f68039a4c97 +DIST debhelper_7.0.8.tar.gz 291573 RMD160 575309673655fb6daa5c71abeec17b8a8020ca6a SHA1 f8e8f9b3906e108e0195ac7aecf6d2820279c527 SHA256 739b0a849bf2ff7efad34fecb159934075f6f6efa4c93c068f0c34a2423d5479 +EBUILD debhelper-7.0.8.ebuild 1473 RMD160 f1161506147f639e7f0a068bf3acea838c186d52 SHA1 9445f8bd7f44f255a8bd3d108fdd9a9ce2bd1952 SHA256 f72d777158151a44c54008794e867cd60ce35780b5bf3147a4ee64d52d2bdb39 +MISC ChangeLog 313 RMD160 8a0841e326cea2f97571c8ea6dbbcda76b20102b SHA1 6018bdd5d6378284a56898179dd3f54ad80365d0 SHA256 c393747efbdc018a3bb5f35733058b829644a34141995660d80bfe635199b387 +MISC metadata.xml 253 RMD160 61cf86d8c5005ed70e9a49dc153d8e18026f757c SHA1 3e444c2c43228d444ce9f7c76b0a94b7a6c4f676 SHA256 48311d41cb1ee3746c22ec0fd732ba3161677e785010c3f30e91888603cc1fa1 diff --git a/app-arch/debhelper/debhelper-7.0.8.ebuild b/app-arch/debhelper/debhelper-7.0.8.ebuild new file mode 100644 index 000000000000..55d532a4a023 --- /dev/null +++ b/app-arch/debhelper/debhelper-7.0.8.ebuild @@ -0,0 +1,63 @@ +# Copyright 2008-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/debhelper/debhelper-7.0.8.ebuild,v 1.1 2008/05/16 20:25:17 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="~amd64 ~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} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-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 +} diff --git a/app-arch/debhelper/files/debhelper-7.0.8-conditional-nls.patch b/app-arch/debhelper/files/debhelper-7.0.8-conditional-nls.patch new file mode 100644 index 000000000000..1d48ab28518b --- /dev/null +++ b/app-arch/debhelper/files/debhelper-7.0.8-conditional-nls.patch @@ -0,0 +1,33 @@ +diff -Naurp debhelper.orig/Makefile debhelper/Makefile +--- debhelper.orig/Makefile 2008-05-04 14:57:07.000000000 -0500 ++++ debhelper/Makefile 2008-05-15 16:31:34.000000000 -0500 +@@ -27,8 +27,12 @@ PERLLIBDIR=$(shell perl -MConfig -e 'pri + + POD2MAN=pod2man -c Debhelper -r "$(VERSION)" + ++ifeq ($(USE_NLS),yes) + # l10n to be built is determined from .po files +-LANGS=$(notdir $(basename $(wildcard man/po4a/po/*.po))) ++LANGS?=$(notdir $(basename $(wildcard man/po4a/po/*.po))) ++else ++LANGS= ++endif + + build: version + find . -maxdepth 1 -type f -perm +100 -name "dh*" \ +@@ -36,6 +40,7 @@ build: version + cat debhelper.pod | \ + $(MAKEMANLIST) `find . -maxdepth 1 -type f -perm +100 -name "dh_*" | sort` | \ + $(POD2MAN) --name="debhelper" --section=7 > debhelper.7 ++ifeq ($(USE_NLS),yes) + po4a man/po4a/po4a.cfg + set -e; \ + for lang in $(LANGS); do \ +@@ -48,6 +53,7 @@ build: version + $(MAKEMANLIST) `find $$dir -type f -maxdepth 1 -name "dh_*.pod" | sort` | \ + $(POD2MAN) --name="debhelper" --section=7 > debhelper.$$lang.7; \ + done ++endif + + version: + printf "package Debian::Debhelper::Dh_Version;\n\$$version='$(VERSION)';\n1" > \ diff --git a/app-arch/debhelper/metadata.xml b/app-arch/debhelper/metadata.xml new file mode 100644 index 000000000000..7ab5593a0faa --- /dev/null +++ b/app-arch/debhelper/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>deb-tools</herd> +<maintainer> +<email>yvasilev@gentoo.org</email> +<name>Yuri Vasilevski</name> +</maintainer> +</pkgmetadata> |