diff options
Diffstat (limited to 'app-admin/genromfs')
-rw-r--r-- | app-admin/genromfs/Manifest | 6 | ||||
-rw-r--r-- | app-admin/genromfs/files/genromfs-0.5.2-build.patch | 28 | ||||
-rw-r--r-- | app-admin/genromfs/genromfs-0.5.2.ebuild | 26 | ||||
-rw-r--r-- | app-admin/genromfs/metadata.xml | 10 |
4 files changed, 70 insertions, 0 deletions
diff --git a/app-admin/genromfs/Manifest b/app-admin/genromfs/Manifest new file mode 100644 index 000000000000..6343d6d7e75c --- /dev/null +++ b/app-admin/genromfs/Manifest @@ -0,0 +1,6 @@ +AUX genromfs-0.5.2-build.patch 547 SHA256 5d76afca199b950fd0abcfbceabbb1b02d7e43f3d0e99fc8f87fe41e9b344775 SHA512 b4d0f162c5605f0dedef2a08c0f6abe0ffc78e66dd74d2b8f2df33bcc190b002384e0f2c1394502564906553412aa8ab688d359ba435f6c43af5abae1d9970e3 WHIRLPOOL feb1baec180c5b7d2b7345bc924b4dd36d46db40d2249920047876fa8cd32ee77fe56e273ca3e3f922e84f67e1363998562f8dd35a64d81b91303d0357347386 +DIST genromfs-0.5.2.tar.gz 21069 SHA256 30f37fc734572c1dbaa2504585bc23ba6b8fd7df767ae7155995b2ca0ebed960 SHA512 7fa2f362e4a61ab38f5262fc5a716119312d3029f93cf0a514313c5a3c956d687d777a826da2f4ad95edaf5eab014464635b0afbaaa11f9b495efb6f03fbec2f WHIRLPOOL a3fbf809c62383268c1b1e728a29934e0b57caf72826918fffaeeea7e0485935ab79efd9cabb9018e4cc0934ef7cc2adfe6929e0f9c831e50dc0eb1f7f773139 +EBUILD genromfs-0.5.2.ebuild 568 SHA256 02617133367215b4c0b7f8b1feaa58d9c821d0e6c9a7946c6200e0836469a448 SHA512 50b3278bcb738b0a64ed6111299c184e9145f58dd7adccf42ce5b30cf1e1163e1e78d61dce36e6e49859db06ecfb7cf417b62132c41e8b27b251cebe271570d6 WHIRLPOOL c611327a9f660d427b1241a6229644e3e9a9a75c18c293e01ef46a4ecc29dea06088f2977ec310ba8d7b083c2196b7e6034a5fa1e402f94ea81105cdb10efe90 +MISC ChangeLog 2561 SHA256 cc5ad45baa164d78328544b0d2e2ca6ea4d31d6d55fb013fcea7650cf83aee94 SHA512 c4a522ce018c1c065f067fd88e7a794435421898ad73962cb31a5d79df4731e219103dba1593908fd81b801cef3240bea4103e6463b9199191ee59d1f7e0342c WHIRLPOOL 0515d2208be23917266dea7ea552a9c14835f3c539af54a9338d970a2b86b1c1cf0e03ca759cb64d17d67fbb21c49627bc09f194ac2ba2ffa15dde529d1684fd +MISC ChangeLog-2015 2179 SHA256 8ded20bb90d74bdae1fdb0dedc6785fcf1c6ae1cafb8a3cc7f007a793eee0a34 SHA512 f65cb3a550a2de5539e7356f6958164cc676688464ec0f049a6f54aae236f423328b859d359327e7e500b52cedcf4b3ab40054fc9b702c16e74450bbfdf0fb02 WHIRLPOOL 8696a090a53efa4f0f56faf12048a5f7e63e8cfb9d267a29aae761f753291580e04b3fd6e0e1601205ec677b48b3479339996ccfc4862a73a5c23f2ceb30c065 +MISC metadata.xml 349 SHA256 fca86c4a090e6a85b183b76e2c4a94da23cb22cf8551eac414710a6699ca54ef SHA512 b86036d8e4288d5ae248bab2335ae74715950c2a6baf385c23b711a4700232961e504dcded46f39b57a520589e83c79c48111fa8c9635a63298acdcf21381912 WHIRLPOOL 4b547b535cdb0bf62a53e4c58cb37642588c0ca56111eaa7dd54ee57eba00648165f76510bb6b21f965c7dce6d6c3a055fbc0a922622c6f8f65ad7dbae8d7477 diff --git a/app-admin/genromfs/files/genromfs-0.5.2-build.patch b/app-admin/genromfs/files/genromfs-0.5.2-build.patch new file mode 100644 index 000000000000..1fbc29fb7d5c --- /dev/null +++ b/app-admin/genromfs/files/genromfs-0.5.2-build.patch @@ -0,0 +1,28 @@ +--- Makefile ++++ Makefile +@@ -5,9 +5,10 @@ + + PACKAGE = genromfs + VERSION = 0.5.2 +-CC = gcc +-CFLAGS = -O2 -Wall -DVERSION=\"$(VERSION)\"#-g# +-LDFLAGS = -s#-g ++CC ?= gcc ++CFLAGS ?= -O2 ++CFLAGS += -Wall -DVERSION=\"$(VERSION)\"#-g# ++LDFLAGS ?= -s#-g + + 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 new file mode 100644 index 000000000000..3b3fd2b0b57b --- /dev/null +++ b/app-admin/genromfs/genromfs-0.5.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="Create space-efficient, small, read-only romfs filesystems" +HOMEPAGE="http://romfs.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 arm64 ppc ~ppc64 s390 x86" +IUSE="" + +DOCS=( ChangeLog NEWS genromfs.lsm genrommkdev readme-kernel-patch romfs.txt ) + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch +} + +src_compile() { + tc-export CC + default +} diff --git a/app-admin/genromfs/metadata.xml b/app-admin/genromfs/metadata.xml new file mode 100644 index 000000000000..cf9dbee3a273 --- /dev/null +++ b/app-admin/genromfs/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <longdescription>A readonly filesystem designed to be small and very space + efficent</longdescription> + <upstream> + <remote-id type="sourceforge">genromfs</remote-id> + </upstream> +</pkgmetadata> |