diff options
-rw-r--r-- | sys-fs/cramfs/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/cramfs/cramfs-2.1.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/sys-fs/cramfs/Manifest b/sys-fs/cramfs/Manifest index dd080da59d98..e1ec6d7cd350 100644 --- a/sys-fs/cramfs/Manifest +++ b/sys-fs/cramfs/Manifest @@ -1 +1,2 @@ DIST cramfs-1.1.tar.gz 24179 BLAKE2B adb5d1682dbc7405333b735f145cdaffea770c09a60c15a79d1973a365b2f013ebbd728e05f5a20559bace237a6f685c6afba557249ee2049bb6827d5da3e9f8 SHA512 6c18dbe32df57f7d132fb2a59a917ad381156ca1f720c1ad0997ca81c62e82fd43ebb0339c5a66d5b144a72ce5c7ae93596522fe2698259f2b68c31db26e3b63 +DIST cramfs-2.1.tar.gz 33595 BLAKE2B 599f9af8f02cb7c17f58b78dde59f162bbcbe9008d2941fb4f8f9accfd4e6d371b9f31ae1a65a3e3d10458b53acd927fdab9049c082a132f139abdddb9f6890c SHA512 76137d1347fa7d1907590cfd7f3c5b48f2422bc2dd95fb2ae5b33561e5d5f179634a98d117f1f1344c15362f4282bce87cf9d527b5512f9badb1a2c024755eee diff --git a/sys-fs/cramfs/cramfs-2.1.ebuild b/sys-fs/cramfs/cramfs-2.1.ebuild new file mode 100644 index 000000000000..856b3d1d26ae --- /dev/null +++ b/sys-fs/cramfs/cramfs-2.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit toolchain-funcs + +DESCRIPTION="Linux filesystem designed to be simple, small, and to compress things well" +HOMEPAGE="https://github.com/npitre/cramfs-tools" +SRC_URI="https://github.com/npitre/cramfs-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="sys-libs/zlib:=" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/cramfs-tools-${PV}" + +src_compile() { + emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" +} + +src_install() { + into / + dosbin mkcramfs cramfsck + dodoc README NOTES +} |