summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-05 03:08:13 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-05 03:08:13 +0000
commit3015644342c9c5d00e511765381fd0482129e6de (patch)
tree6cd988cbe954cb0a43801ff6b124d77ebc8ed8f5 /app-admin/genromfs
parentsh love (diff)
downloadgentoo-2-3015644342c9c5d00e511765381fd0482129e6de.tar.gz
gentoo-2-3015644342c9c5d00e511765381fd0482129e6de.tar.bz2
gentoo-2-3015644342c9c5d00e511765381fd0482129e6de.zip
Cleanup build system and add amd64 love.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'app-admin/genromfs')
-rw-r--r--app-admin/genromfs/ChangeLog8
-rw-r--r--app-admin/genromfs/files/genromfs-0.5.1-build.patch12
-rw-r--r--app-admin/genromfs/genromfs-0.5.1.ebuild20
3 files changed, 27 insertions, 13 deletions
diff --git a/app-admin/genromfs/ChangeLog b/app-admin/genromfs/ChangeLog
index b94ad97f2922..c777873dc553 100644
--- a/app-admin/genromfs/ChangeLog
+++ b/app-admin/genromfs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/genromfs
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/genromfs/ChangeLog,v 1.9 2005/01/01 11:00:41 eradicator Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/genromfs/ChangeLog,v 1.10 2006/01/05 03:08:13 vapier Exp $
+
+ 05 Jan 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/genromfs-0.5.1-build.patch, genromfs-0.5.1.ebuild:
+ Cleanup build system and add amd64 love.
29 Jun 2004; Aron Griffis <agriffis@gentoo.org> genromfs-0.5.1.ebuild:
add sed-4 dep
diff --git a/app-admin/genromfs/files/genromfs-0.5.1-build.patch b/app-admin/genromfs/files/genromfs-0.5.1-build.patch
new file mode 100644
index 000000000000..4553aac0972e
--- /dev/null
+++ b/app-admin/genromfs/files/genromfs-0.5.1-build.patch
@@ -0,0 +1,12 @@
+--- Makefile.orig 2006-01-03 16:43:33.000000000 -0500
++++ Makefile 2006-01-03 16:43:44.000000000 -0500
+@@ -6,8 +6,7 @@
+ PACKAGE = genromfs
+ VERSION = 0.5.1
+ CC = gcc
+-CFLAGS = -O2 -Wall -DVERSION=\"$(VERSION)\"#-g#
+-LDFLAGS = -s#-g
++CFLAGS += -Wall -DVERSION=\"$(VERSION)\"#-g#
+
+ DISTDIR = $(PACKAGE)-$(VERSION)
+
diff --git a/app-admin/genromfs/genromfs-0.5.1.ebuild b/app-admin/genromfs/genromfs-0.5.1.ebuild
index 709e39481dc6..bd44f9fe5d75 100644
--- a/app-admin/genromfs/genromfs-0.5.1.ebuild
+++ b/app-admin/genromfs/genromfs-0.5.1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/genromfs/genromfs-0.5.1.ebuild,v 1.18 2005/01/01 11:00:41 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/genromfs/genromfs-0.5.1.ebuild,v 1.19 2006/01/05 03:08:13 vapier Exp $
+
+inherit eutils
DESCRIPTION="Create space-efficient, small, read-only romfs filesystems"
HOMEPAGE="http://romfs.sourceforge.net/"
@@ -8,19 +10,15 @@ SRC_URI="mirror://sourceforge/romfs/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ppc sparc s390"
+KEYWORDS="amd64 ppc s390 sparc x86"
IUSE=""
-DEPEND="virtual/libc
- >=sys-apps/sed-4"
+DEPEND=""
src_unpack() {
- unpack ${A}; cd ${S}
- sed -i -e "s%^\(CFLAGS = \)-O2%\1${CFLAGS}%" Makefile
-}
-
-src_compile() {
- make || die
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-build.patch
}
src_install() {