diff options
author | Jonathan Callen <abcd@gentoo.org> | 2010-04-06 06:06:11 +0000 |
---|---|---|
committer | Jonathan Callen <abcd@gentoo.org> | 2010-04-06 06:06:11 +0000 |
commit | 97fbce23ea54f73c9e4b346283bb63019a3e9371 (patch) | |
tree | 18d13b6cd00f84a3611b11075bcfe1362b569725 /app-arch | |
parent | Bump to EAPI=3, add prefix keywords (diff) | |
download | gentoo-2-97fbce23ea54f73c9e4b346283bb63019a3e9371.tar.gz gentoo-2-97fbce23ea54f73c9e4b346283bb63019a3e9371.tar.bz2 gentoo-2-97fbce23ea54f73c9e4b346283bb63019a3e9371.zip |
Bump to EAPI=3, add prefix keywords, QA fixes
(Portage version: -svn/cvs/Linux i686)
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/ppmd/ChangeLog | 7 | ||||
-rw-r--r-- | app-arch/ppmd/ppmd-9.1_p14.ebuild | 30 |
2 files changed, 20 insertions, 17 deletions
diff --git a/app-arch/ppmd/ChangeLog b/app-arch/ppmd/ChangeLog index f0785439e899..a1f72d0f0ed9 100644 --- a/app-arch/ppmd/ChangeLog +++ b/app-arch/ppmd/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-arch/ppmd -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/ppmd/ChangeLog,v 1.36 2009/10/12 16:46:02 halcy0n Exp $ +# 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 $ + + 06 Apr 2010; Jonathan Callen <abcd@gentoo.org> ppmd-9.1_p14.ebuild: + Bump to EAPI=3, add prefix keywords, QA fixes 12 Oct 2009; Mark Loeser <halcy0n@gentoo.org> ppmd-9.1_p10.ebuild, ppmd-9.1_p14.ebuild: diff --git a/app-arch/ppmd/ppmd-9.1_p14.ebuild b/app-arch/ppmd/ppmd-9.1_p14.ebuild index d29dd2e39a80..26d9f5394ef2 100644 --- a/app-arch/ppmd/ppmd-9.1_p14.ebuild +++ b/app-arch/ppmd/ppmd-9.1_p14.ebuild @@ -1,22 +1,23 @@ -# Copyright 1999-2009 Gentoo Foundation +# 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_p14.ebuild,v 1.6 2009/10/12 16:46:02 halcy0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/ppmd/ppmd-9.1_p14.ebuild,v 1.7 2010/04/06 06:06:11 abcd Exp $ + +EAPI="3" 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" +SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${MY_P}.orig.tar.gz + mirror://debian/pool/main/${PN::1}/${PN}/${MY_P}-${PATCHV}.diff.gz" LICENSE="public-domain" SLOT="0" -KEYWORDS="-alpha -amd64 hppa -ia64 ~mips ppc sparc x86" +KEYWORDS="-alpha -amd64 hppa -ia64 ~mips ppc sparc x86 ~x86-interix -amd64-linux -ia64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" IUSE="" DEPEND=">=sys-apps/sed-4 @@ -26,23 +27,22 @@ DEPEND=">=sys-apps/sed-4 sys-devel/automake" RDEPEND="" -src_unpack() { - unpack ${A} - cd "${S}" +S=${WORKDIR}/${PN}-i1 + +src_prepare() { epatch "${WORKDIR}/${MY_P}-${PATCHV}.diff" epatch "${S}/${MY_P/_/-}/debian/patches"/*.patch mv "${S}/b/Makefile" "${S}" || die "no makefile found" epatch "${FILESDIR}/${PN}-p10-makefile.patch" } -src_compile() { - replace-flags "-O3" "-O2" - append-flags "-fno-inline-functions -fno-exceptions -fno-rtti" - emake || die +src_configure() { + replace-flags -O3 -O2 + append-flags -fno-inline-functions -fno-exceptions -fno-rtti } src_install() { - make install DESTDIR="${D}" || die "failed installing" + emake -j1 install DESTDIR="${ED}" || die "failed installing" doman "${S}/${MY_P/_/-}/debian/ppmd.1" || die "failed installing manpage" dodoc "${S}/read_me.txt" || die "failed installed readme" } |