summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDror Levin <spatz@gentoo.org>2010-03-06 20:36:16 +0000
committerDror Levin <spatz@gentoo.org>2010-03-06 20:36:16 +0000
commitc650f1be0baad5ad72ec00b30fe5ab639b6c979f (patch)
treeae8a8375ff28e15876513d147db6383e3af1fd0e /app-arch/lzip
parentalpha/ia64 stable wrt #307385 (diff)
downloadgentoo-2-c650f1be0baad5ad72ec00b30fe5ab639b6c979f.tar.gz
gentoo-2-c650f1be0baad5ad72ec00b30fe5ab639b6c979f.tar.bz2
gentoo-2-c650f1be0baad5ad72ec00b30fe5ab639b6c979f.zip
Version bump.
(Portage version: 2.2_rc65/cvs/Linux x86_64)
Diffstat (limited to 'app-arch/lzip')
-rw-r--r--app-arch/lzip/ChangeLog8
-rw-r--r--app-arch/lzip/files/lzip-1.9-build.patch28
-rw-r--r--app-arch/lzip/lzip-1.9.ebuild26
3 files changed, 61 insertions, 1 deletions
diff --git a/app-arch/lzip/ChangeLog b/app-arch/lzip/ChangeLog
index 2fc50c53a6bb..207ebc12c09e 100644
--- a/app-arch/lzip/ChangeLog
+++ b/app-arch/lzip/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-arch/lzip
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/lzip/ChangeLog,v 1.6 2010/01/31 20:44:22 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/lzip/ChangeLog,v 1.7 2010/03/06 20:36:15 spatz Exp $
+
+*lzip-1.9 (06 Mar 2010)
+
+ 06 Mar 2010; Dror Levin <spatz@gentoo.org> +lzip-1.9.ebuild,
+ +files/lzip-1.9-build.patch:
+ Version bump.
31 Jan 2010; Jeroen Roovers <jer@gentoo.org> lzip-1.8.ebuild:
Marked ~hppa too.
diff --git a/app-arch/lzip/files/lzip-1.9-build.patch b/app-arch/lzip/files/lzip-1.9-build.patch
new file mode 100644
index 000000000000..b7178c16aac8
--- /dev/null
+++ b/app-arch/lzip/files/lzip-1.9-build.patch
@@ -0,0 +1,28 @@
+--- configure.orig 2010-03-06 22:25:15.645376914 +0200
++++ configure 2010-03-06 22:26:36.806376713 +0200
+@@ -25,10 +25,6 @@
+ infodir='$(datadir)/info'
+ mandir='$(datadir)/man'
+ sysconfdir='$(prefix)/etc'
+-CXX=
+-CPPFLAGS=
+-CXXFLAGS='-Wall -W -O2'
+-LDFLAGS=
+
+ # Loop over all args
+ while [ -n "$1" ] ; do
+@@ -101,6 +97,14 @@
+ esac
+ done
+
++# Defaults if the user did not select any
++if [ x"${CFLAGS+set}" != xset ] ; then
++ CFLAGS='-Wall -W -O2'
++fi
++if [ x"${CXXFLAGS+set}" != xset ] ; then
++ CXXFLAGS='-Wall -W -O2'
++fi
++
+ # Find the source files, if location was not specified.
+ srcdirtext=
+ if [ -z "${srcdir}" ] ; then
diff --git a/app-arch/lzip/lzip-1.9.ebuild b/app-arch/lzip/lzip-1.9.ebuild
new file mode 100644
index 000000000000..26a3ee7c3463
--- /dev/null
+++ b/app-arch/lzip/lzip-1.9.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/lzip/lzip-1.9.ebuild,v 1.1 2010/03/06 20:36:15 spatz Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="lossless data compressor based on the LZMA algorithm"
+HOMEPAGE="http://www.nongnu.org/lzip/lzip.html"
+SRC_URI="http://download.savannah.gnu.org/releases-noredirect/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~sparc ~x86"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-build.patch
+ tc-export CC CXX
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc AUTHORS README NEWS ChangeLog
+}