summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2005-08-21 22:37:44 +0000
committerSven Wegener <swegener@gentoo.org>2005-08-21 22:37:44 +0000
commitb6102082b152bd538aa3ef47113b5bf4493ce182 (patch)
tree6e222267f426e042dbc517887a0be53fbd36e013 /app-arch/par
parentDepend on glib-1.2. (diff)
downloadgentoo-2-b6102082b152bd538aa3ef47113b5bf4493ce182.tar.gz
gentoo-2-b6102082b152bd538aa3ef47113b5bf4493ce182.tar.bz2
gentoo-2-b6102082b152bd538aa3ef47113b5bf4493ce182.zip
Modified to pass CFLAGS in a saner way. Added metadata.xml.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-arch/par')
-rw-r--r--app-arch/par/ChangeLog6
-rw-r--r--app-arch/par/metadata.xml9
-rw-r--r--app-arch/par/par-1.1.ebuild21
3 files changed, 21 insertions, 15 deletions
diff --git a/app-arch/par/ChangeLog b/app-arch/par/ChangeLog
index 2063b7316777..23c25b98c5af 100644
--- a/app-arch/par/ChangeLog
+++ b/app-arch/par/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-arch/par
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/par/ChangeLog,v 1.14 2005/01/01 11:50:45 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/par/ChangeLog,v 1.15 2005/08/21 22:37:44 swegener Exp $
+
+ 21 Aug 2005; Sven Wegener <swegener@gentoo.org> +metadata.xml,
+ par-1.1.ebuild:
+ Modified to pass CFLAGS in a saner way. Added metadata.xml.
11 Oct 2004; Kito <kito@gentoo.org> par-1.1.ebuild:
added ~ppc-macos keyword
diff --git a/app-arch/par/metadata.xml b/app-arch/par/metadata.xml
new file mode 100644
index 000000000000..991608adbe1f
--- /dev/null
+++ b/app-arch/par/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>swegener@gentoo.org</email>
+ <description>Primary Maintainer</description>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-arch/par/par-1.1.ebuild b/app-arch/par/par-1.1.ebuild
index a1a23a399aae..b74dafb2201b 100644
--- a/app-arch/par/par-1.1.ebuild
+++ b/app-arch/par/par-1.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/par/par-1.1.ebuild,v 1.22 2005/01/01 11:50:45 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/par/par-1.1.ebuild,v 1.23 2005/08/21 22:37:44 swegener Exp $
DESCRIPTION="Parchive archive fixing tool"
HOMEPAGE="http://parchive.sourceforge.net/"
@@ -11,23 +11,16 @@ SLOT="0"
KEYWORDS="x86 ppc sparc amd64 ~ppc-macos"
IUSE=""
-RDEPEND="virtual/libc"
-DEPEND="${RDEPEND}
- >=sys-apps/sed-4"
+DEPEND=""
+RDEPEND="${DEPEND}"
-S=${WORKDIR}/par-cmdline
-
-src_unpack() {
- unpack par-v${PV}.tar.gz
- cd ${S}
- sed -i "s/CFLAGS.*/CFLAGS = -Wall ${CFLAGS}/" Makefile
-}
+S="${WORKDIR}"/par-cmdline
src_compile() {
- emake || die
+ emake CFLAGS="${CFLAGS}" || die "emake failed"
}
src_install() {
- dobin par || die
- dodoc AUTHORS NEWS README rs.doc
+ dobin par || die "dobin failed"
+ dodoc AUTHORS NEWS README
}