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
commit99aea2be6548ab8eb28c5700f442edb3b66405d3 (patch)
tree599d339d052f34c41f235b67af36778be1dad9ba /app-admin/genromfs
parentsh love (diff)
downloadhistorical-99aea2be6548ab8eb28c5700f442edb3b66405d3.tar.gz
historical-99aea2be6548ab8eb28c5700f442edb3b66405d3.tar.bz2
historical-99aea2be6548ab8eb28c5700f442edb3b66405d3.zip
Cleanup build system and add amd64 love.
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'app-admin/genromfs')
-rw-r--r--app-admin/genromfs/ChangeLog8
-rw-r--r--app-admin/genromfs/Manifest15
-rw-r--r--app-admin/genromfs/files/genromfs-0.5.1-build.patch12
-rw-r--r--app-admin/genromfs/genromfs-0.5.1.ebuild20
4 files changed, 40 insertions, 15 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/Manifest b/app-admin/genromfs/Manifest
index 7d4383d800b4..3c5be7ef358d 100644
--- a/app-admin/genromfs/Manifest
+++ b/app-admin/genromfs/Manifest
@@ -1,3 +1,14 @@
-MD5 f5096aef7f33ea88af83bac132f286fd ChangeLog 725
-MD5 cc21454eb37617682cc823277431f3c7 genromfs-0.5.1.ebuild 760
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 c2dc308cc3c47f716be20338850416ed ChangeLog 876
MD5 95d299423cea7583af6bda19176114db files/digest-genromfs-0.5.1 65
+MD5 7c3e90348452a90bb8b970796de2e070 files/genromfs-0.5.1-build.patch 315
+MD5 2b2b26502f433fc7a265edbdcc4b0334 genromfs-0.5.1.ebuild 702
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDvI3l2+ySkm8kpY0RAvvSAJ9aPJT1NHEONWkb14bods/on6+zOwCgoIa2
+um54R9xRzRPvJ+7rteOcjDI=
+=IfPf
+-----END PGP SIGNATURE-----
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() {