summaryrefslogtreecommitdiff
path: root/app-cdr/uif2iso
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-cdr/uif2iso
reinit the tree, so we can have metadata
Diffstat (limited to 'app-cdr/uif2iso')
-rw-r--r--app-cdr/uif2iso/Manifest9
-rw-r--r--app-cdr/uif2iso/files/0.1.7-Makefile10
-rw-r--r--app-cdr/uif2iso/metadata.xml12
-rw-r--r--app-cdr/uif2iso/uif2iso-0.1.7c-r1.ebuild41
-rw-r--r--app-cdr/uif2iso/uif2iso-0.1.7c.ebuild31
5 files changed, 103 insertions, 0 deletions
diff --git a/app-cdr/uif2iso/Manifest b/app-cdr/uif2iso/Manifest
new file mode 100644
index 000000000000..2655366eac39
--- /dev/null
+++ b/app-cdr/uif2iso/Manifest
@@ -0,0 +1,9 @@
+AUX 0.1.7-Makefile 184 SHA256 4425cae6db47381af816b72625e79d8b8f1d7335ea9c36582bdb1de7bfe71287 SHA512 a38e7164c753273604272f07d141d6dff57102b989e647f7d0c3682f8afa719af4c4717ab64f6a1ed5a33b5081f5ea71a291b2ca1baa265ad9a00b6c77650d54 WHIRLPOOL c32476b389044ac91a4fa3035eb6b5b71ee46d7b132a1efd4a6066b6ea2cb6b6742407fbc6645c44bbb17c6170c00f2ab0fec7808a0929351a743bb7ccee0f56
+DIST uif2iso-0.1.7c.zip 113727 SHA256 b78dde3e8bc28559f73e2feb46d41c8f57b511ddbe25d63ada704ef8697528ec SHA512 22e2e2d156cae7f2f72ba5959bf3b4282609397d148e6a98666382003ce568e185a90e6af8821829d302c1efea1ca2c6d155df0181c6a29294d70de8adc9591f WHIRLPOOL df4a0446faec70dcb30316a576d49cdf074b042e99a85ccb4dbd0273bc72a5b5a5e37d74c5326728fb80bd34da8783c5dd070c97c9476ff0a1c245b2d5520d56
+DIST uif2iso-test.iso 55296 SHA256 6fe46b1733fe3e337b3aa4035cdb817e611656136b828a519fe2bd595349c0e0 SHA512 775f8fc87a51709c6ef10ae2751cc8600c22d70af419afd680a1917338a699e6a3934597af26400f67ff68fdea5db32e416d73fda370ef71f0d19a5bbdcbedd6 WHIRLPOOL 7a12d5abb9a8b49083b810f8657b5f0f24b4fb75c555a168d41b8a104ec14a123f5ff0d62f8b2e9aeabba1e081a4eb7e13e1837101c6e300d515688c613837be
+DIST uif2iso-test.uif 499 SHA256 2019019dc6c532be145fd0ff5c6c23da7927dc321620482d1e99188ccd61a096 SHA512 6863305d325ec6cf6c8693512d011ec4150bcf0be94f84495e4075cea74412b9fd8ede17f77ad9f7d4b3cf205c9406adbd5440697c7857ab094e4659d074efeb WHIRLPOOL 27d1db05f5f971dd173cd05c197539a1c637ef5baf83493eb3615ad05d664c624b7aacebc4af24d1e08676d6e1c1a6c13398a6669aa6203b1dedef248dd2f0c6
+EBUILD uif2iso-0.1.7c-r1.ebuild 1081 SHA256 8637e39ea8894b8c4fb116a8f8d5cec0a3078fb73060e6ffd782c33a0f4b3792 SHA512 8f3beb347f8a1b99c0d1b978163d96b87b6597a6b56caf72f4cd06e8efe8cacb8f6c102ae4d1fac3dcfde03d7b94d11d60e7155816bc4a96efa48dde21028605 WHIRLPOOL 2d5ce2288158e8a808dfd0ae61ea71d145a6160f7335cfd69542beb0f37194fbce7606634297b0d752051bdf46b85694e5270515a6c2f6f302148b4ec6896b07
+EBUILD uif2iso-0.1.7c.ebuild 697 SHA256 5ba0fc0774bd0ca5a33d49a986bd39a89d4d1f4069bc3b478c3251a215a976e1 SHA512 e971f2cf73f4a65a19e47880ec0921389d2fbe2132a8d3ef0fbdb89a9d05ac51a908d2683260a5ae8fb58f29293393fe8bea392de1293ab4a019aef9e15c97c8 WHIRLPOOL 488de5675e086fc2b875beb05efffc19d3302c5c8f0d1752ca339936378de5ffb320504a0ad79d8c058af968c108f4f859626eedd7227b9e038d823f9c19f912
+MISC ChangeLog 2571 SHA256 ed23f63af6d8365b53a85f8c0c3b8ba5d8460f1dea669ab966184c98a2fecaa5 SHA512 c441e392d625fc75973f3b44144eb0479101fe2f712e121375128c26a8fe18f6b10c582308acf19d2afd9a2d5f39aa9a2b4dcafe3f40cebfbcd1a57c367e664b WHIRLPOOL 197d35a942e5041ad0395fc7301615c3fbadcff44159f9b4238a8299bd6e48dd99c145e507616c446ac30091b9800177927d10de2a949b6ab440c64db552bb59
+MISC ChangeLog-2015 1808 SHA256 dd76117db3c2873b3072bac3f96092a99e3a4b62da1dbd8d981349b740a3d715 SHA512 91ec35082074558058515688dda1280249a4ac078f54dac5653a896ef1029050de4a2f3552a658334696d05fba8f6d53558f43347200e81054554c7d37c3b514 WHIRLPOOL 5806ac83a3a3cf97fcb5f9540903dea7242773928a6d7fe03d683c50252206cb377a380b285425c9cbf3152f18adfcb5dc04f8c903345bcacd48c7fb588c9c48
+MISC metadata.xml 378 SHA256 b31d53fce3f74a911d297acd21800e8cb3bfe5b1f58f0d40d9e3490bf9562b33 SHA512 390e5167b385674927c832c014ee50f48ba1a28b8217a496823116a6f7de3bde0695cbeb3662e1057af63646f9e39a38a2bd2a0863ed4eb2ab0f11eec4d057b2 WHIRLPOOL 6c00d6bae0817945aa0072dcac91cdf0c86a0624afedb92f827d4ec905da8917794c106508d8becc9faad501084adb4ee85ae508afe95706aab962e3a6afacab
diff --git a/app-cdr/uif2iso/files/0.1.7-Makefile b/app-cdr/uif2iso/files/0.1.7-Makefile
new file mode 100644
index 000000000000..0b8a2bd95355
--- /dev/null
+++ b/app-cdr/uif2iso/files/0.1.7-Makefile
@@ -0,0 +1,10 @@
+# We replace the makefile since the upstream one is not suitable for
+# us :(
+
+OBJS := $(patsubst %.c,%.o,$(wildcard *.c))
+
+CFLAGS += -DMAGICISO_IS_SHIT
+
+LDLIBS = -lz
+
+uif2iso: $(OBJS)
diff --git a/app-cdr/uif2iso/metadata.xml b/app-cdr/uif2iso/metadata.xml
new file mode 100644
index 000000000000..c2690264a00d
--- /dev/null
+++ b/app-cdr/uif2iso/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>yegortimoshenko@gmail.com</email>
+ <name>Yegor Timoshenko</name>
+</maintainer>
+<maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-cdr/uif2iso/uif2iso-0.1.7c-r1.ebuild b/app-cdr/uif2iso/uif2iso-0.1.7c-r1.ebuild
new file mode 100644
index 000000000000..97d523632af7
--- /dev/null
+++ b/app-cdr/uif2iso/uif2iso-0.1.7c-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit toolchain-funcs
+
+DESCRIPTION="Convert CD images from uif (MagicISO) to iso"
+HOMEPAGE="http://aluigi.altervista.org/mytoolz.htm#uif2iso"
+SRC_URI="mirror://gentoo/${P}.zip
+ test? ( https://yegortimoshenko.s3.amazonaws.com/${PN}-test.iso
+ https://yegortimoshenko.s3.amazonaws.com/${PN}-test.uif )"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="test"
+
+RDEPEND="sys-libs/zlib"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}"
+
+src_compile() {
+ emake CC="$(tc-getCC)" -C src -f - <<-'EOF'
+ CPPFLAGS += -DMAGICISO_IS_SHIT
+ LDLIBS = -lz
+ uif2iso: $(patsubst %.c,%.o,$(wildcard *.c))
+ EOF
+}
+
+src_test() {
+ einfo "checking that uif -> iso matches the expected output"
+ src/${PN} "${DISTDIR}/${PN}-test.uif" "${T}/${PN}-test.iso" # always returns 1
+ diff "${DISTDIR}/${PN}-test.iso" "${T}/${PN}-test.iso" || die "unexpected iso"
+}
+
+src_install() {
+ dobin src/${PN}
+ dodoc ${PN}.txt README
+}
diff --git a/app-cdr/uif2iso/uif2iso-0.1.7c.ebuild b/app-cdr/uif2iso/uif2iso-0.1.7c.ebuild
new file mode 100644
index 000000000000..9d43caee44c3
--- /dev/null
+++ b/app-cdr/uif2iso/uif2iso-0.1.7c.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Converts MagicISO CD-images to iso"
+HOMEPAGE="http://aluigi.org/mytoolz.htm#uif2iso"
+SRC_URI="mirror://gentoo/${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="sys-libs/zlib"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}/src"
+
+src_compile() {
+ # Yes we use our own makefile, I'll try to explain this to
+ # upstream _again_.
+ emake CC="$(tc-getCC)" -f "${FILESDIR}/0.1.7-Makefile" || die "emake failed"
+}
+
+src_install() {
+ dobin ${PN} || die "failed to install"
+
+ dodoc "${WORKDIR}"/${PN}.txt "${WORKDIR}"/README
+}