summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2005-09-28 05:38:18 +0000
committerBrian Harring <ferringb@gentoo.org>2005-09-28 05:38:18 +0000
commit623cd085a0a631e90385e99b9aec318e50d1ef8f (patch)
tree01dcd80fbe30b6f553ef163da66e3dd7ac5328f3 /app-arch
parentFixes for bugs 106882 and 106412, stable bump, and new version (diff)
downloadgentoo-2-623cd085a0a631e90385e99b9aec318e50d1ef8f.tar.gz
gentoo-2-623cd085a0a631e90385e99b9aec318e50d1ef8f.tar.bz2
gentoo-2-623cd085a0a631e90385e99b9aec318e50d1ef8f.zip
version bump.
(Portage version: 1.524.2.76-cvs ... people who modify their portage.VERSION are tools)
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/ppmd/ChangeLog7
-rw-r--r--app-arch/ppmd/Manifest5
-rw-r--r--app-arch/ppmd/files/digest-ppmd-9.1_p102
-rw-r--r--app-arch/ppmd/files/ppmd-p10-makefile.patch29
-rw-r--r--app-arch/ppmd/ppmd-9.1_p10.ebuild50
5 files changed, 91 insertions, 2 deletions
diff --git a/app-arch/ppmd/ChangeLog b/app-arch/ppmd/ChangeLog
index 5854f03adafb..a90247978308 100644
--- a/app-arch/ppmd/ChangeLog
+++ b/app-arch/ppmd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-arch/ppmd
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/ppmd/ChangeLog,v 1.19 2005/09/14 18:24:02 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/ppmd/ChangeLog,v 1.20 2005/09/28 05:38:18 ferringb Exp $
+
+ 28 Sep 2005; Brian Harring <ferringb@gentoo.org> ppmd-9.1_p10.ebuild:
+ Version bump.
+
+*ppmd-9.1_p10 (28 Sep 2005)
14 Sep 2005; Fabian Groffen <grobian@gentoo.org> ppmd-9.1_p8.ebuild:
Marking ~ppc-macos (bug #105857)
diff --git a/app-arch/ppmd/Manifest b/app-arch/ppmd/Manifest
index c578a24678c6..31f712ee7c0c 100644
--- a/app-arch/ppmd/Manifest
+++ b/app-arch/ppmd/Manifest
@@ -1,4 +1,7 @@
MD5 cd9773eac88e9eec7d026992e127515e ppmd-9.1_p8.ebuild 1314
-MD5 7d966a7cf8e701f70e5c81ea43dba379 ChangeLog 2318
+MD5 dbecafa2df6e6c12726a5a2cba62d2ca ppmd-9.1_p10.ebuild 1536
+MD5 f8203babf44afdb7fcab77fdaf5a2b36 ChangeLog 2436
MD5 56e46532cb9aa08b89639cf3e16f1145 metadata.xml 251
+MD5 a1c28b35ca7b671b2637ab02933363ce files/digest-ppmd-9.1_p10 127
+MD5 16757855e309f9fde430173a1a0160f6 files/ppmd-p10-makefile.patch 693
MD5 95bef8e9966964996567662a5c5100da files/digest-ppmd-9.1_p8 126
diff --git a/app-arch/ppmd/files/digest-ppmd-9.1_p10 b/app-arch/ppmd/files/digest-ppmd-9.1_p10
new file mode 100644
index 000000000000..6cfb8986570a
--- /dev/null
+++ b/app-arch/ppmd/files/digest-ppmd-9.1_p10
@@ -0,0 +1,2 @@
+MD5 35b5f1cecf3df377af196e79182a8659 ppmd_9.1.orig.tar.gz 48508
+MD5 2475f7f842c529fc3beb4a1cc257298f ppmd_9.1-10.diff.gz 11441
diff --git a/app-arch/ppmd/files/ppmd-p10-makefile.patch b/app-arch/ppmd/files/ppmd-p10-makefile.patch
new file mode 100644
index 000000000000..f73a187e613d
--- /dev/null
+++ b/app-arch/ppmd/files/ppmd-p10-makefile.patch
@@ -0,0 +1,29 @@
+--- /root/Makefile 2005-09-27 18:36:20.000000000 -0500
++++ Makefile 2005-09-27 18:55:59.000000000 -0500
+@@ -3,16 +3,12 @@
+ TARGET = PPMd
+ OBJS = PPMd.o Model.o
+
+-prefix = /usr/local
++prefix = /usr
+ bindir = $(prefix)/bin
+
+ INSTALL = install
+ INSTALL_PROGRAM = $(INSTALL) -m 755
+
+-CXXFLAGS = -g -fno-exceptions -fno-rtti -pedantic -Wall \
+- -Wno-unknown-pragmas -Wno-sign-compare -Wno-conversion \
+- -O2 -fomit-frame-pointer -fstrict-aliasing
+-
+ $(TARGET): $(OBJS)
+ $(CXX) -o $@ $^
+
+@@ -24,7 +20,7 @@
+ $(RM) $(TARGET)
+
+ install:
+- $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(bindir)
++ $(INSTALL_PROGRAM) -D $(TARGET) $(DESTDIR)$(bindir)/$(TARGET)
+
+ .PHONY: clean install
+
diff --git a/app-arch/ppmd/ppmd-9.1_p10.ebuild b/app-arch/ppmd/ppmd-9.1_p10.ebuild
new file mode 100644
index 000000000000..a28bf25cd22f
--- /dev/null
+++ b/app-arch/ppmd/ppmd-9.1_p10.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/ppmd/ppmd-9.1_p10.ebuild,v 1.1 2005/09/28 05:38:18 ferringb Exp $
+
+inherit eutils flag-o-matic
+
+PATCHV="${P##*_p}"
+MY_P="${P%%_*}"
+MY_P="${MY_P/-/_}"
+MY_S=${PN}-i1
+S=${WORKDIR}/${MY_S}
+DESCRIPTION="PPM based compressor -- better behaved than bzip2"
+HOMEPAGE="http://http.us.debian.org/debian/pool/main/p/ppmd/"
+SRC_URI="http://http.us.debian.org/debian/pool/main/p/ppmd/${MY_P}.orig.tar.gz
+ http://http.us.debian.org/debian/pool/main/p/ppmd/${MY_P}-${PATCHV}.diff.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~sparc ~x86"
+IUSE=""
+
+DEPEND=">=sys-apps/sed-4
+ app-arch/gzip
+ sys-devel/patch
+ sys-devel/autoconf
+ sys-devel/automake"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch "${WORKDIR}/${MY_P}-${PATCHV}.diff"
+ epatch "${S}/${MY_P/_/-}/debian/patches"/*.patch
+ mv "${S}/${MY_P/_/-}/Makefile" "${S}" || die "no makefile found"
+ epatch "${FILESDIR}/${PN}-p${PATCHV}-makefile.patch"
+}
+
+src_compile() {
+# replace-flags "-O3" "-O2"
+# see bug #44529 if this starts producing goofy executables
+# if it pops up again, re-enable replace-flags.
+ append-flags "-fno-inline-functions -fno-exceptions -fno-rtti"
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "failed installing"
+ doman "${S}/${MY_P/_/-}/debian/PPMd.1" || die "failed installing manpage"
+ dodoc "${S}/read_me.txt" || die "failed installed readme"
+}