summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadoslaw Stachowiak <radek@gentoo.org>2005-09-24 12:38:06 +0000
committerRadoslaw Stachowiak <radek@gentoo.org>2005-09-24 12:38:06 +0000
commitb54c21fbcf134878ff912499d54c7f65e6c1cc83 (patch)
tree9896fc2c74ae8868fbe7815760897687ff0ca1be /app-arch/p7zip
parentStable on ppc (diff)
downloadgentoo-2-b54c21fbcf134878ff912499d54c7f65e6c1cc83.tar.gz
gentoo-2-b54c21fbcf134878ff912499d54c7f65e6c1cc83.tar.bz2
gentoo-2-b54c21fbcf134878ff912499d54c7f65e6c1cc83.zip
version bump, closes #104248 and CFLAGS issue
(Portage version: 1.589-cvs)
Diffstat (limited to 'app-arch/p7zip')
-rw-r--r--app-arch/p7zip/ChangeLog9
-rw-r--r--app-arch/p7zip/Manifest2
-rw-r--r--app-arch/p7zip/files/digest-p7zip-4.271
-rw-r--r--app-arch/p7zip/p7zip-4.27.ebuild57
4 files changed, 68 insertions, 1 deletions
diff --git a/app-arch/p7zip/ChangeLog b/app-arch/p7zip/ChangeLog
index 040163f6bbf6..b4a88ef1c871 100644
--- a/app-arch/p7zip/ChangeLog
+++ b/app-arch/p7zip/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-arch/p7zip
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/p7zip/ChangeLog,v 1.25 2005/09/14 17:28:41 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/p7zip/ChangeLog,v 1.26 2005/09/24 12:38:06 radek Exp $
+
+*p7zip-4.27 (24 Sep 2005)
+
+ 24 Sep 2005; Radoslaw Stachowiak <radek@gentoo.org> +p7zip-4.27.ebuild:
+ changed -O1 to make.conf CFLAGS
+ added plugins compilation and installation (/usr/lib/p7zip) closes #104248
+ version bump
14 Sep 2005; Fabian Groffen <grobian@gentoo.org> p7zip-4.20-r1.ebuild:
Marking ~ppc-macos (bug #105853)
diff --git a/app-arch/p7zip/Manifest b/app-arch/p7zip/Manifest
index 6201fcb88e1b..d57a65b21373 100644
--- a/app-arch/p7zip/Manifest
+++ b/app-arch/p7zip/Manifest
@@ -1,3 +1,4 @@
+MD5 eb8a90fff24101cbd9bfaad4c0487d79 p7zip-4.27.ebuild 1350
MD5 63b3652045bfe3ef43c505e35eced205 p7zip-4.20-r1.ebuild 1024
MD5 b24ad5bd1bc43cfc963731afcdbb72de p7zip-0.91.ebuild 733
MD5 ab190c8e1b389b73b62f1cde621b7216 ChangeLog 3522
@@ -6,5 +7,6 @@ MD5 9366cbb83b1cef1ad42a9a45cd46c029 p7zip-4.20.ebuild 942
MD5 b536ab563901360bd65cae18d088ee5e files/7z 42
MD5 b447478697ba987040c8a572b2948310 files/digest-p7zip-0.91 63
MD5 1defb955ab99c1352cd6d52a4839bff6 files/digest-p7zip-4.20 67
+MD5 4ed52dc9ef4b9514b9a07b51b450257a files/digest-p7zip-4.27 67
MD5 5cd8b1eac59c69d93fd0380607d295fc files/p7zip-4.16_x86_static.patch 276
MD5 1defb955ab99c1352cd6d52a4839bff6 files/digest-p7zip-4.20-r1 67
diff --git a/app-arch/p7zip/files/digest-p7zip-4.27 b/app-arch/p7zip/files/digest-p7zip-4.27
new file mode 100644
index 000000000000..948f659df8fc
--- /dev/null
+++ b/app-arch/p7zip/files/digest-p7zip-4.27
@@ -0,0 +1 @@
+MD5 8ba68ada07e41e1b472a7dc18cb191b2 p7zip_4.27_src.tar.bz2 416045
diff --git a/app-arch/p7zip/p7zip-4.27.ebuild b/app-arch/p7zip/p7zip-4.27.ebuild
new file mode 100644
index 000000000000..48e5a8635eaf
--- /dev/null
+++ b/app-arch/p7zip/p7zip-4.27.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/p7zip/p7zip-4.27.ebuild,v 1.1 2005/09/24 12:38:06 radek Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Port of 7-Zip archiver for Unix"
+HOMEPAGE="http://p7zip.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc-macos ~x86"
+IUSE="static doc"
+
+S=${WORKDIR}/${PN}_${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ use static && epatch ${FILESDIR}/p7zip-4.16_x86_static.patch
+ sed -i \
+ -e "/^CXX=/s:g++:$(tc-getCXX):" \
+ -e "/^CC=/s:gcc:$(tc-getCC):" \
+ -e "s:-O1 -s -fPIC:${CXXFLAGS}:" \
+ makefile* || die "cleaning up makefiles"
+}
+
+src_compile() {
+ emake all2 || die "compilation error"
+}
+
+src_install() {
+ dobin bin/7za || die "dobin 7za"
+
+ # currently (4.27) not needed, due to separate 7z
+ #dosym 7za /usr/bin/7z
+ dobin bin/7z || die "dobin 7z"
+
+ dodir /usr/lib/${PN}
+ exeinto /usr/lib/${PN}
+ doexe bin/7z bin/7za
+ dodir /usr/lib/${PN}/Codecs
+ exeinto /usr/lib/${PN}/Codecs
+ doexe bin/Codecs/*
+ dodir /usr/lib/${PN}/Formats
+ exeinto /usr/lib/${PN}/Formats
+ doexe bin/Formats/*
+
+ doman man1/7z.1
+ doman man1/7za.1
+
+ if use doc; then
+ dodoc ChangeLog README TODO DOCS/*.txt
+ dohtml -r DOCS/MANUAL/*
+ fi
+}