summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-09-20 09:49:11 +0000
committerJeroen Roovers <jer@gentoo.org>2010-09-20 09:49:11 +0000
commitc41c778df5ef57d84ea628384913c066abcfa67b (patch)
tree7c28c52b8824b057b46dd5909780062f640e05ca /app-arch/ppmd
parentSlotmove >=dev-lang/vala-0.9.5 to 0.10, bug #338067. (diff)
downloadgentoo-2-c41c778df5ef57d84ea628384913c066abcfa67b.tar.gz
gentoo-2-c41c778df5ef57d84ea628384913c066abcfa67b.tar.bz2
gentoo-2-c41c778df5ef57d84ea628384913c066abcfa67b.zip
Patch bump. Respect LDFLAGS (bug #337861), CC, CFLAGS.
(Portage version: 2.2_rc84/cvs/Linux i686)
Diffstat (limited to 'app-arch/ppmd')
-rw-r--r--app-arch/ppmd/ChangeLog7
-rw-r--r--app-arch/ppmd/ppmd-9.1_p16.ebuild43
2 files changed, 49 insertions, 1 deletions
diff --git a/app-arch/ppmd/ChangeLog b/app-arch/ppmd/ChangeLog
index a1f72d0f0ed9..ac8b34883343 100644
--- a/app-arch/ppmd/ChangeLog
+++ b/app-arch/ppmd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-arch/ppmd
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/ppmd/ChangeLog,v 1.37 2010/04/06 06:06:11 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/ppmd/ChangeLog,v 1.38 2010/09/20 09:49:11 jer Exp $
+
+*ppmd-9.1_p16 (20 Sep 2010)
+
+ 20 Sep 2010; Jeroen Roovers <jer@gentoo.org> +ppmd-9.1_p16.ebuild:
+ Patch bump. Respect LDFLAGS (bug #337861), CC, CFLAGS.
06 Apr 2010; Jonathan Callen <abcd@gentoo.org> ppmd-9.1_p14.ebuild:
Bump to EAPI=3, add prefix keywords, QA fixes
diff --git a/app-arch/ppmd/ppmd-9.1_p16.ebuild b/app-arch/ppmd/ppmd-9.1_p16.ebuild
new file mode 100644
index 000000000000..5691916f7423
--- /dev/null
+++ b/app-arch/ppmd/ppmd-9.1_p16.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/ppmd/ppmd-9.1_p16.ebuild,v 1.1 2010/09/20 09:49:11 jer Exp $
+
+EAPI="3"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+PATCHV="${P##*_p}"
+MY_P="${P%%_*}"
+MY_P="${MY_P/-/_}"
+
+DESCRIPTION="PPM based compressor -- better behaved than bzip2"
+HOMEPAGE="http://http.us.debian.org/debian/pool/main/p/ppmd/"
+SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${MY_P}.orig.tar.gz
+ mirror://debian/pool/main/${PN::1}/${PN}/${MY_P}-${PATCHV}.debian.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="-alpha -amd64 ~hppa -ia64 ~mips ~ppc ~sparc ~x86 ~x86-interix -amd64-linux -ia64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
+IUSE=""
+
+S=${WORKDIR}/${PN}-i1
+
+src_prepare() {
+ EPATCH_FORCE=yes EPATCH_SUFFIX=patch epatch "${WORKDIR}"/debian/patches/
+ epatch "${FILESDIR}/${PN}-p10-makefile.patch"
+ sed b/Makefile \
+ -e 's|$(CXX)|& $(CFLAGS) $(LDFLAGS)|g' > Makefile \
+ || die "sed b/Makefile"
+}
+
+src_configure() {
+ tc-export CXX
+ replace-flags -O3 -O2
+ append-flags -fno-inline-functions -fno-exceptions -fno-rtti
+}
+
+src_install() {
+ emake -j1 install DESTDIR="${ED}" || die "failed installing"
+ doman "${WORKDIR}/debian/ppmd.1" || die "failed installing manpage"
+ dodoc "read_me.txt" || die "failed installed readme"
+}