diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2010-07-29 17:15:43 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2010-07-29 17:15:43 +0000 |
commit | 787852ae1a49509144c9e1a4d7608fada5ab912f (patch) | |
tree | ac001e9dbbb01e9112744c4e0bf2b0ba54b022c8 /dev-libs/libdebian-installer | |
parent | version bump (diff) | |
download | gentoo-2-787852ae1a49509144c9e1a4d7608fada5ab912f.tar.gz gentoo-2-787852ae1a49509144c9e1a4d7608fada5ab912f.tar.bz2 gentoo-2-787852ae1a49509144c9e1a4d7608fada5ab912f.zip |
Initial ebuild. Originally written by Ricardo Salveti
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libdebian-installer')
6 files changed, 128 insertions, 0 deletions
diff --git a/dev-libs/libdebian-installer/ChangeLog b/dev-libs/libdebian-installer/ChangeLog new file mode 100644 index 000000000000..9b0c14bd1b55 --- /dev/null +++ b/dev-libs/libdebian-installer/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for dev-libs/libdebian-installer +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdebian-installer/ChangeLog,v 1.1 2010/07/29 17:15:42 darkside Exp $ + +*libdebian-installer-0.74 (29 Jul 2010) + + 29 Jul 2010; Jeremy Olexa <darkside@gentoo.org> + +libdebian-installer-0.74.ebuild, + +files/libdebian-installer-0.74-dont-install-docs.patch, + +files/libdebian-installer-0.74-doubling-readsize-support-oe.patch, + +files/libdebian-installer-0.74-fix-warnings.patch, +metadata.xml: + Initial ebuild. Originally written by Ricardo Salveti + diff --git a/dev-libs/libdebian-installer/files/libdebian-installer-0.74-dont-install-docs.patch b/dev-libs/libdebian-installer/files/libdebian-installer-0.74-dont-install-docs.patch new file mode 100644 index 000000000000..aa8c54d96a70 --- /dev/null +++ b/dev-libs/libdebian-installer/files/libdebian-installer-0.74-dont-install-docs.patch @@ -0,0 +1,13 @@ +Index: libdebian-installer/Makefile.in +=================================================================== +--- libdebian-installer.orig/Makefile.in ++++ libdebian-installer/Makefile.in +@@ -197,7 +197,7 @@ target_alias = @target_alias@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + AUTOMAKE_OPTIONS = foreign +-SUBDIRS = doc include src ++SUBDIRS = include src + pkgconfigdir = ${libdir}/pkgconfig + pkgconfig_DATA = \ + libdebian-installer.pc \ diff --git a/dev-libs/libdebian-installer/files/libdebian-installer-0.74-doubling-readsize-support-oe.patch b/dev-libs/libdebian-installer/files/libdebian-installer-0.74-doubling-readsize-support-oe.patch new file mode 100644 index 000000000000..3de600331ea3 --- /dev/null +++ b/dev-libs/libdebian-installer/files/libdebian-installer-0.74-doubling-readsize-support-oe.patch @@ -0,0 +1,26 @@ +From bed9559d08373b0344877914b3bc3afe85c26007 Mon Sep 17 00:00:00 2001 +From: Ricardo Salveti de Araujo <ricardo.salveti@openbossa.org> +Date: Wed, 4 Nov 2009 13:19:57 -0300 +Subject: [PATCH] parser_rfc822.c: doubling the READSIZE to support using it with OpenEmbedded + +Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@openbossa.org> +--- + src/parser_rfc822.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/parser_rfc822.c b/src/parser_rfc822.c +index 576de0e..45ccc98 100644 +--- a/src/parser_rfc822.c ++++ b/src/parser_rfc822.c +@@ -38,7 +38,7 @@ + #include <sys/types.h> + #include <unistd.h> + +-#define READSIZE 16384 ++#define READSIZE 32768 + + int di_parser_rfc822_read (char *begin, size_t size, di_parser_info *info, di_parser_read_entry_new entry_new, di_parser_read_entry_finish entry_finish, void *user_data) + { +-- +1.6.5 + diff --git a/dev-libs/libdebian-installer/files/libdebian-installer-0.74-fix-warnings.patch b/dev-libs/libdebian-installer/files/libdebian-installer-0.74-fix-warnings.patch new file mode 100644 index 000000000000..82aa6454d339 --- /dev/null +++ b/dev-libs/libdebian-installer/files/libdebian-installer-0.74-fix-warnings.patch @@ -0,0 +1,26 @@ +Index: libdebian-installer/src/Makefile.in +=================================================================== +--- libdebian-installer.orig/src/Makefile.in ++++ libdebian-installer/src/Makefile.in +@@ -66,7 +66,7 @@ libdebian_installer_la_OBJECTS = $(am_li + libdebian_installer_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(libdebian_installer_la_LDFLAGS) $(LDFLAGS) -o $@ +-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -I$(top_builddir)/include/debian-installer ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -I$(top_builddir)/include + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ +Index: libdebian-installer/src/system/Makefile.in +=================================================================== +--- libdebian-installer.orig/src/system/Makefile.in ++++ libdebian-installer/src/system/Makefile.in +@@ -46,7 +46,7 @@ LTLIBRARIES = $(noinst_LTLIBRARIES) + am_libsystem_la_OBJECTS = devfs.lo dpkg.lo packages.lo \ + prebaseconfig.lo utils.lo + libsystem_la_OBJECTS = $(am_libsystem_la_OBJECTS) +-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -I$(top_builddir)/include/debian-installer ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -I$(top_builddir)/include + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ diff --git a/dev-libs/libdebian-installer/libdebian-installer-0.74.ebuild b/dev-libs/libdebian-installer/libdebian-installer-0.74.ebuild new file mode 100644 index 000000000000..f96364893bba --- /dev/null +++ b/dev-libs/libdebian-installer/libdebian-installer-0.74.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdebian-installer/libdebian-installer-0.74.ebuild,v 1.1 2010/07/29 17:15:42 darkside Exp $ + +EAPI=2 +inherit eutils + +DESCRIPTION="Library of common debian-installer functions" +HOMEPAGE="http://packages.qa.debian.org/libd/libdebian-installer.html" +SRC_URI="mirror://debian/pool/main/libd/${PN}/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="doc" + +DEPEND=" doc? ( app-doc/doxygen )" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}/${P}-fix-warnings.patch" \ + "${FILESDIR}/${P}-dont-install-docs.patch" \ + "${FILESDIR}/${P}-doubling-readsize-support-oe.patch" +} + +src_compile() { + emake || die "emake failed" + + if use doc; then + emake -C doc doc || die "emake for docs failed" + fi +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed" + + if use doc; then + dohtml -r doc/html/* + fi + + dodoc HACKING debian/changelog +} diff --git a/dev-libs/libdebian-installer/metadata.xml b/dev-libs/libdebian-installer/metadata.xml new file mode 100644 index 000000000000..1053b117d872 --- /dev/null +++ b/dev-libs/libdebian-installer/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>deb-tools</herd> + <maintainer> + <email>darkside@gentoo.org</email> + </maintainer> +</pkgmetadata> |