summaryrefslogtreecommitdiff
path: root/app-admin/genromfs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-admin/genromfs
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/genromfs')
-rw-r--r--app-admin/genromfs/Manifest4
-rw-r--r--app-admin/genromfs/files/genromfs-0.5.2-build.patch28
-rw-r--r--app-admin/genromfs/genromfs-0.5.2.ebuild26
-rw-r--r--app-admin/genromfs/metadata.xml10
4 files changed, 68 insertions, 0 deletions
diff --git a/app-admin/genromfs/Manifest b/app-admin/genromfs/Manifest
new file mode 100644
index 000000000000..6a75dd3241b0
--- /dev/null
+++ b/app-admin/genromfs/Manifest
@@ -0,0 +1,4 @@
+AUX genromfs-0.5.2-build.patch 547 BLAKE2B c8963e68e03b0e559ea422ed9d0589f600eca3de18c69af68e11f40606e93f6a0045f440146eaece5e5a30562532e54d719d10fdabaf36a0d4fdabf3ea235aad SHA512 b4d0f162c5605f0dedef2a08c0f6abe0ffc78e66dd74d2b8f2df33bcc190b002384e0f2c1394502564906553412aa8ab688d359ba435f6c43af5abae1d9970e3
+DIST genromfs-0.5.2.tar.gz 21069 BLAKE2B 350ebf11b8ef068053217b75ac995af1199e4c4c11823df584e8169c260dbd851d4f44ba6d23ac1f5f4cd9c2ca7ae7fd268d02ba19529da90003a697efc3e06a SHA512 7fa2f362e4a61ab38f5262fc5a716119312d3029f93cf0a514313c5a3c956d687d777a826da2f4ad95edaf5eab014464635b0afbaaa11f9b495efb6f03fbec2f
+EBUILD genromfs-0.5.2.ebuild 568 BLAKE2B f990cb38e32ab90ccef01cf558ab5efa73798f63bf548045ce0494c26f8739d746a34b549be03dc09eb8c1d341b50673ae4da8c53fc4540c359086f6a7450d44 SHA512 50b3278bcb738b0a64ed6111299c184e9145f58dd7adccf42ce5b30cf1e1163e1e78d61dce36e6e49859db06ecfb7cf417b62132c41e8b27b251cebe271570d6
+MISC metadata.xml 349 BLAKE2B cab4bb0ef305ad6a0aa43ebfc701ec8b515f05cd3ff9bfe7ed518b4b8e5fcb239a6ac4b7ef719f3c394412ffb8eed203b7d66cbf89f5af7535fade7222dca7b1 SHA512 b86036d8e4288d5ae248bab2335ae74715950c2a6baf385c23b711a4700232961e504dcded46f39b57a520589e83c79c48111fa8c9635a63298acdcf21381912
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>