diff options
author | Michael Palimaka <kensington@gentoo.org> | 2012-07-16 20:19:43 +0000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2012-07-16 20:19:43 +0000 |
commit | c3a8c6b7ba207ae8da11c75009f77c8c106eeb00 (patch) | |
tree | cb98fa8bf82557eefdff6a31037ba1c0633d2c99 /app-admin/genromfs | |
parent | EAPI=2; respect CFLAGS (bug #426890) (diff) | |
download | gentoo-2-c3a8c6b7ba207ae8da11c75009f77c8c106eeb00.tar.gz gentoo-2-c3a8c6b7ba207ae8da11c75009f77c8c106eeb00.tar.bz2 gentoo-2-c3a8c6b7ba207ae8da11c75009f77c8c106eeb00.zip |
Migrate to EAPI 4.
(Portage version: 2.1.11.5/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/genromfs')
-rw-r--r-- | app-admin/genromfs/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/genromfs/files/genromfs-0.5.2-build.patch | 15 | ||||
-rw-r--r-- | app-admin/genromfs/genromfs-0.5.2.ebuild | 22 |
3 files changed, 30 insertions, 15 deletions
diff --git a/app-admin/genromfs/ChangeLog b/app-admin/genromfs/ChangeLog index 0c67e458639e..67610d41a39d 100644 --- a/app-admin/genromfs/ChangeLog +++ b/app-admin/genromfs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-admin/genromfs -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/genromfs/ChangeLog,v 1.13 2008/09/22 19:14:37 vapier Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/genromfs/ChangeLog,v 1.14 2012/07/16 20:19:43 kensington Exp $ + + 16 Jul 2012; Michael Palimaka <kensington@gentoo.org> + files/genromfs-0.5.2-build.patch, genromfs-0.5.2.ebuild: + Migrate to EAPI 4. 22 Sep 2008; Mike Frysinger <vapier@gentoo.org> genromfs-0.5.2.ebuild: Add ppc64 love. diff --git a/app-admin/genromfs/files/genromfs-0.5.2-build.patch b/app-admin/genromfs/files/genromfs-0.5.2-build.patch index 96d52d4b02c5..1fbc29fb7d5c 100644 --- a/app-admin/genromfs/files/genromfs-0.5.2-build.patch +++ b/app-admin/genromfs/files/genromfs-0.5.2-build.patch @@ -1,6 +1,7 @@ --- Makefile +++ Makefile -@@ -6,8 +6,9 @@ +@@ -5,9 +5,10 @@ + PACKAGE = genromfs VERSION = 0.5.2 -CC = gcc @@ -13,3 +14,15 @@ DISTDIR = $(PACKAGE)-$(VERSION) +@@ -16,9 +17,9 @@ + readme-kernel-patch genrommkdev romfs.txt \ + checkdist + +-prefix = /usr ++prefix = $(DESTDIR)/usr + bindir = $(prefix)/bin +-mandir = $(prefix)/man ++mandir = $(prefix)/share/man + + genromfs: genromfs.o + $(CC) $(LDFLAGS) genromfs.o -o genromfs diff --git a/app-admin/genromfs/genromfs-0.5.2.ebuild b/app-admin/genromfs/genromfs-0.5.2.ebuild index 00701542d906..2895e4884ffe 100644 --- a/app-admin/genromfs/genromfs-0.5.2.ebuild +++ b/app-admin/genromfs/genromfs-0.5.2.ebuild @@ -1,29 +1,27 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/genromfs/genromfs-0.5.2.ebuild,v 1.2 2008/09/22 19:14:37 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/genromfs/genromfs-0.5.2.ebuild,v 1.3 2012/07/16 20:19:43 kensington Exp $ + +EAPI=4 inherit eutils toolchain-funcs DESCRIPTION="Create space-efficient, small, read-only romfs filesystems" HOMEPAGE="http://romfs.sourceforge.net/" -SRC_URI="mirror://sourceforge/romfs/${P}.tar.gz" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~s390 ~sparc ~x86" IUSE="" -DEPEND="" +DOCS=( ChangeLog NEWS genromfs.lsm genrommkdev readme-kernel-patch romfs.txt ) -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}"/${P}-build.patch - tc-export CC } -src_install() { - dobin genromfs || die - doman genromfs.8 - dodoc ChangeLog NEWS genromfs.lsm genrommkdev readme-kernel-patch romfs.txt +src_compile() { + tc-export CC + default } |