diff options
author | Michał Górny <mgorny@gentoo.org> | 2011-01-05 16:08:10 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2011-01-05 16:08:10 +0000 |
commit | 3a510b4d08be3a854bde182257ab15bf82e4adaf (patch) | |
tree | 5198444c243fc552e971997cce1139e8f7440fd7 /app-arch | |
parent | Stable for HPPA PPC (bug #319489). (diff) | |
download | gentoo-2-3a510b4d08be3a854bde182257ab15bf82e4adaf.tar.gz gentoo-2-3a510b4d08be3a854bde182257ab15bf82e4adaf.tar.bz2 gentoo-2-3a510b4d08be3a854bde182257ab15bf82e4adaf.zip |
Add a stand-alone libzpaq ebuild.
(Portage version: 2.2.0_alpha12_p8/cvs/Linux x86_64)
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/libzpaq/ChangeLog | 10 | ||||
-rw-r--r-- | app-arch/libzpaq/files/0001-Add-autotools-files.patch | 44 | ||||
-rw-r--r-- | app-arch/libzpaq/libzpaq-2.02.ebuild | 30 | ||||
-rw-r--r-- | app-arch/libzpaq/metadata.xml | 9 |
4 files changed, 93 insertions, 0 deletions
diff --git a/app-arch/libzpaq/ChangeLog b/app-arch/libzpaq/ChangeLog new file mode 100644 index 000000000000..eee1ea918f63 --- /dev/null +++ b/app-arch/libzpaq/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-arch/libzpaq +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/libzpaq/ChangeLog,v 1.1 2011/01/05 16:08:10 mgorny Exp $ + +*libzpaq-2.02 (05 Jan 2011) + + 05 Jan 2011; Michał Górny <mgorny@gentoo.org> + +files/0001-Add-autotools-files.patch, +libzpaq-2.02.ebuild, +metadata.xml: + Add a stand-alone libzpaq ebuild. + diff --git a/app-arch/libzpaq/files/0001-Add-autotools-files.patch b/app-arch/libzpaq/files/0001-Add-autotools-files.patch new file mode 100644 index 000000000000..7720d3efc22a --- /dev/null +++ b/app-arch/libzpaq/files/0001-Add-autotools-files.patch @@ -0,0 +1,44 @@ +From 2f190ea930d18d491bff127fdf9a58f1e8282aee Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Tue, 4 Jan 2011 21:04:53 +0100 +Subject: [PATCH] Add autotools files. + +--- + Makefile.am | 7 +++++++ + configure.ac | 10 ++++++++++ + 2 files changed, 17 insertions(+), 0 deletions(-) + create mode 100644 Makefile.am + create mode 100644 configure.ac + +diff --git a/Makefile.am b/Makefile.am +new file mode 100644 +index 0000000..533e717 +--- /dev/null ++++ b/Makefile.am +@@ -0,0 +1,7 @@ ++lib_LIBRARIES = libzpaq.a ++include_HEADERS = libzpaq.h ++ ++libzpaq_a_SOURCES = libzpaq.cpp libzpaqo.cpp libzpaq.h ++AM_CPPFLAGS = -DNDEBUG ++ ++EXTRA_DIST = libzpaq.txt +diff --git a/configure.ac b/configure.ac +new file mode 100644 +index 0000000..a272f11 +--- /dev/null ++++ b/configure.ac +@@ -0,0 +1,10 @@ ++AC_PREREQ([2.60]) ++AC_INIT([zpaq], [2.04]) ++AC_CONFIG_AUX_DIR([build-aux]) ++AM_INIT_AUTOMAKE([1.6 foreign no-dependencies]) ++ ++AC_PROG_CXX ++AC_PROG_RANLIB ++ ++AC_CONFIG_FILES([Makefile]) ++AC_OUTPUT +-- +1.7.3.4 + diff --git a/app-arch/libzpaq/libzpaq-2.02.ebuild b/app-arch/libzpaq/libzpaq-2.02.ebuild new file mode 100644 index 000000000000..c842041d78fc --- /dev/null +++ b/app-arch/libzpaq/libzpaq-2.02.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/libzpaq/libzpaq-2.02.ebuild,v 1.1 2011/01/05 16:08:10 mgorny Exp $ + +EAPI=3 + +inherit autotools autotools-utils + +MY_P=${PN}.${PV/./} +DESCRIPTION="Library to compress files or objects in the ZPAQ format" +HOMEPAGE="http://mattmahoney.net/dc/zpaq.html" +SRC_URI="http://mattmahoney.net/dc/${MY_P}.zip" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="!=app-arch/zpaq-2.04" + +S=${WORKDIR} + +DOCS=( libzpaq.txt ) + +src_prepare() { + EPATCH_OPTS+=-p1 epatch "${FILESDIR}"/0001-Add-autotools-files.patch + autotools-utils_src_prepare + eautoreconf +} diff --git a/app-arch/libzpaq/metadata.xml b/app-arch/libzpaq/metadata.xml new file mode 100644 index 000000000000..af81389004c1 --- /dev/null +++ b/app-arch/libzpaq/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>no-herd</herd> + <maintainer> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> +</pkgmetadata> |