diff options
Diffstat (limited to 'app-arch/unadf')
-rw-r--r-- | app-arch/unadf/Manifest | 8 | ||||
-rw-r--r-- | app-arch/unadf/files/no.in_path.patch | 39 | ||||
-rw-r--r-- | app-arch/unadf/metadata.xml | 7 | ||||
-rw-r--r-- | app-arch/unadf/unadf-0.7.12.ebuild | 33 | ||||
-rw-r--r-- | app-arch/unadf/unadf-0.7.9b.ebuild | 39 |
5 files changed, 126 insertions, 0 deletions
diff --git a/app-arch/unadf/Manifest b/app-arch/unadf/Manifest new file mode 100644 index 000000000000..c3abda5878d6 --- /dev/null +++ b/app-arch/unadf/Manifest @@ -0,0 +1,8 @@ +AUX no.in_path.patch 1341 SHA256 0f108dec4c55abf80baec2e993faa0d3374bda337de9f817831a044f06f0e4de SHA512 79e218cb222ac8024a8c6decab688428677298269c11bfca683921a84e70056f9fd58b12f290cf30944017fff1c794a713701cfd0c722fd98180a2c3d521a1c8 WHIRLPOOL 0e23cb3b9eefb27ab4f4b99f118bb915af53a663119cf9f5ee651d111537c101332beae2097bf5015ca5bec4c3624d31b34eb6fff5ee212720de58a3ba008394 +DIST adflib-0.7.12.tar.bz2 135412 SHA256 41c4d0bd369f789a615118b9206905fcd07241d486cda6dece71384dbb42a1bb SHA512 d63846f0780bd57cae5ff667eb70f98a0ba3659cfd0b12b3ae2f29ac96631e522088f911b1ba6e5ee3b00620a28a802f14d93cdf8462e18a7e3f749915ab5af3 WHIRLPOOL 78399e5f9d4554bf46c1c40e0502fdc317173c36eec6196972babf9ba97a207cfd39ba3e992260528a927fe57869cbc6a875ed24e9f0797d33bd5b901b57211b +DIST adflib.zip 254914 SHA256 d78dbc554e6bf0465ad3cf075968f5479b2a983fc1f29b482500b9f9eebb42df SHA512 fe8edf5247ba82e475f62f96fcb72d50bf80641e14e957c99694def98735eb327a67208e3460504a0d109c9497d6e81f0cd8ce07ddc73486adc9e7070a75074a WHIRLPOOL f071b5d4f6131f01db132015783f59fa680391a2fe0e8e9bc7fcb79c6b2e745ec26e1369b3e8b5e2b8ac7b8842afb2f42b4f85eab068abf10b13b8d1afbf1633 +EBUILD unadf-0.7.12.ebuild 640 SHA256 971e5f9cd16f93cf4e9f16260bc97448506579bf2eab97d731e93fdd49428436 SHA512 e7cdedb3d7fc0b5b20fab9bd932311a99d3829e2345b78b74d098397bfba1c64532dfd2e6404fffe64a210bcda09f7d05755d46b4241d4148b187866be571671 WHIRLPOOL 56f60170d4b71f2096915f042d43857c4055ca5ba11a95c8472f74cf5047c1a67d9aa2d6f7d431ae357c9ac61c8c905712295c80135565e6aa98585b32dd8a00 +EBUILD unadf-0.7.9b.ebuild 875 SHA256 8f9a7444c6dea30c21a04982ca75f279d8b762c584ccd0b4a38c8808583bbde8 SHA512 be619ea1d383e7279313c45c2cdd77aa32854962c04a1693bf99488ed9032c6de2b4a84ad0211d3358989cb68d9f8637bba5e625fab9fe3ee4ccc15d692a8f1a WHIRLPOOL 1820f2964614836b46e5328cf1e48022f9d90c0a9a9eb19f509abcc1e2b2b0a8ceb0d9f87be2edc07ead840ad8bc8bec903217a990bd6f2f94b0c8d8442a3e46 +MISC ChangeLog 2650 SHA256 aa9903554b07dfce711972d2ab4a406a8f5923aeaf1b921f35f68210a369187d SHA512 b6a3865ce59bbeb068b4a7c3c1187a2012d97cb4ec03c35bff7d522cf770d7436c6bb89d673e338281a4c48e1b31a86b029ba159b4f870276a9f8cd118d8a5e7 WHIRLPOOL 50b49f2c77d5f1d28261971317b3d26ca52238ded1c3cbbfb8de02574e360e576d5ca87b1ef542ff31d2ec4b8b9a42cf1fe09d5da1616f341c9ffed144494dd3 +MISC ChangeLog-2015 1690 SHA256 d001b6d7e4909f85d78a1e5dbd852ec155fae47548d1f79ab6bd48408a129325 SHA512 819898c74e86a7ff1ce5e0c8289cd370af6d96c910d24afb05fcac9742ac1718b9dc9f0cebb4c87ec0e6ac5a9d9429fb2dd6a56baea9e195e323405222b8763c WHIRLPOOL b69508a2249d04d008e8bc0440f21f8e4ab4a1c80d43df822c94e3b7d3023f3792178bf42c82398951e6d32aadc21d8fe76aab3b0d7c2c9affc0e25f87856496 +MISC metadata.xml 216 SHA256 f7475919f28a8a93ec8bd025c8f8bbab918f66d0d1737420c876f0480308fe6a SHA512 e881b59fe49746eb25ad66c258b41aba501e4eb563129093a3898ea970a20506e7898f7c355cfcf99605234962bf2c77c1309c258b9a2b84ee4302ccb71c9dbd WHIRLPOOL 163285b60aa93e00993af659dc1e29a9eb245bd3415dd5ec75b284250596165f469028102b72fa0c344834443a44c1bbcf6272fe6a3f5211f721fc96e1c6ec16 diff --git a/app-arch/unadf/files/no.in_path.patch b/app-arch/unadf/files/no.in_path.patch new file mode 100644 index 000000000000..51de8f989fa1 --- /dev/null +++ b/app-arch/unadf/files/no.in_path.patch @@ -0,0 +1,39 @@ +diff -r -u ../unchanged/Lib/Makefile ./Lib/Makefile +--- ../unchanged/Lib/Makefile 2004-08-26 00:39:58.847605592 +1000 ++++ ./Lib/Makefile 2004-08-26 00:41:12.307438000 +1000 +@@ -41,7 +41,7 @@ + # to define LITT_ENDIAN on little endian machines (intel) + # checks for sizeof(long)=4, sizeof(short)=2, sizeof(int)=4 + defendian.h: myconf +- myconf ++ ./myconf + + adf_nativ.o: ${NATIV_DIR}/adf_nativ.c ${NATIV_DIR}/adf_nativ.h + $(CC) ${CFLAGS} -c ${NATIV_DIR}/adf_nativ.c +Only in ../unchanged/Lib: Makefile.orig +Only in ../unchanged/Lib: Makefile.rej +diff -r -u ../unchanged/Lib/myconf ./Lib/myconf +--- ../unchanged/Lib/myconf 2000-08-19 11:08:08.000000000 +1000 ++++ ./Lib/myconf 2004-08-26 00:41:28.344000072 +1000 +@@ -31,17 +31,17 @@ + gcc myctest.c -o myctest + rm myctest.c + +-if [ `myctest |cut -d' ' -f 1` != 4 ] ++if [ `./myctest |cut -d' ' -f 1` != 4 ] + then echo "Error : sizeof(long)!=4" + fi +-if [ `myctest |cut -d' ' -f 2` != 2 ] ++if [ `./myctest |cut -d' ' -f 2` != 2 ] + then echo "Error : sizeof(short)!=2" + fi +-if [ `myctest |cut -d' ' -f 3` != 4 ] ++if [ `./myctest |cut -d' ' -f 3` != 4 ] + then echo "Error :sizeof(int)!=4" + fi + +-if [ `myctest |cut -d' ' -f 4` = LITTLE ] ++if [ `./myctest |cut -d' ' -f 4` = LITTLE ] + then + echo "#ifndef LITT_ENDIAN" >defendian.h + echo "#define LITT_ENDIAN 1" >>defendian.h diff --git a/app-arch/unadf/metadata.xml b/app-arch/unadf/metadata.xml new file mode 100644 index 000000000000..79d462e85571 --- /dev/null +++ b/app-arch/unadf/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>robbat2@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/app-arch/unadf/unadf-0.7.12.ebuild b/app-arch/unadf/unadf-0.7.12.ebuild new file mode 100644 index 000000000000..8250209a1c24 --- /dev/null +++ b/app-arch/unadf/unadf-0.7.12.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils + +MY_PN="adflib" + +DESCRIPTION="Extract files from Amiga adf disk images" +SRC_URI="http://lclevy.free.fr/${MY_PN}/${MY_PN}-${PV}.tar.bz2" +HOMEPAGE="http://lclevy.free.fr/adflib/" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" +IUSE="static-libs" +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + eautoreconf +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + prune_libtool_files +} diff --git a/app-arch/unadf/unadf-0.7.9b.ebuild b/app-arch/unadf/unadf-0.7.9b.ebuild new file mode 100644 index 000000000000..db8411325450 --- /dev/null +++ b/app-arch/unadf/unadf-0.7.9b.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +DESCRIPTION="Extract files from Amiga adf disk images" +SRC_URI="mirror://gentoo/adflib.zip" +HOMEPAGE="http://lclevy.free.fr/adflib/" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="hppa ppc x86 ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" +IUSE="" +DEPEND="app-arch/unzip + x11-misc/makedepend" +RDEPEND="" + +src_unpack() { + mkdir "${S}" + cd "${S}" + unzip "${DISTDIR}"/adflib.zip + epatch "${FILESDIR}"/no.in_path.patch +} + +src_compile() { + cd "${S}"/Lib && make depend || die "make failed" + cd "${S}"/Demo && make depend || die "make failed" + cd "${S}" && emake lib demo || die "emake failed" +} + +src_install() { + dobin Demo/unadf + dodoc README CHANGES Faq/adf_info.txt + docinto Docs + dodoc Docs/* + docinto Faq + dodoc Faq/* + docinto Faq/image + dodoc Faq/image/* +} |