diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2005-06-01 00:05:46 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2005-06-01 00:05:46 +0000 |
commit | 3e50ecc5d44114dfc9c19c3d8a8ef779162d9803 (patch) | |
tree | 7fa28ef858c321714b320cbdbe5ee294c39e1d27 /app-arch | |
parent | Fix digests for USE=kdexdeltas. (diff) | |
download | gentoo-2-3e50ecc5d44114dfc9c19c3d8a8ef779162d9803.tar.gz gentoo-2-3e50ecc5d44114dfc9c19c3d8a8ef779162d9803.tar.bz2 gentoo-2-3e50ecc5d44114dfc9c19c3d8a8ef779162d9803.zip |
Bug #61643, ebuild submitted by Jonathan Adamczewski <jadamcze@utas.edu.au>.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/unadf/ChangeLog | 10 | ||||
-rw-r--r-- | app-arch/unadf/Manifest | 3 | ||||
-rw-r--r-- | app-arch/unadf/files/digest-unadf-0.7.9b | 1 | ||||
-rw-r--r-- | app-arch/unadf/files/no.in_path.patch | 39 | ||||
-rw-r--r-- | app-arch/unadf/metadata.xml | 8 | ||||
-rw-r--r-- | app-arch/unadf/unadf-0.7.9b.ebuild | 39 |
6 files changed, 100 insertions, 0 deletions
diff --git a/app-arch/unadf/ChangeLog b/app-arch/unadf/ChangeLog new file mode 100644 index 000000000000..276e10ad1160 --- /dev/null +++ b/app-arch/unadf/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-arch/unadf +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/unadf/ChangeLog,v 1.1 2005/06/01 00:05:46 robbat2 Exp $ + +*unadf-0.7.9b (01 Jun 2005) + + 01 Jun 2005; Robin H. Johnson <robbat2@gentoo.org> + +files/no.in_path.patch, +metadata.xml, +unadf-0.7.9b.ebuild: + Bug #61643, ebuild submitted by Jonathan Adamczewski <jadamcze@utas.edu.au>. + diff --git a/app-arch/unadf/Manifest b/app-arch/unadf/Manifest new file mode 100644 index 000000000000..e49ae115cf9b --- /dev/null +++ b/app-arch/unadf/Manifest @@ -0,0 +1,3 @@ +MD5 cba1812988852e8be7fb07cc151c5511 unadf-1.0.ebuild 849 +MD5 8119714e753e4ce382ab2fc6c031134f files/no.in_path.patch 1341 +MD5 679e73724327c8771ab2b28e9d4444f0 files/digest-unadf-1.0 55 diff --git a/app-arch/unadf/files/digest-unadf-0.7.9b b/app-arch/unadf/files/digest-unadf-0.7.9b new file mode 100644 index 000000000000..baaae1ef961b --- /dev/null +++ b/app-arch/unadf/files/digest-unadf-0.7.9b @@ -0,0 +1 @@ +MD5 28e8b58b14b1125725f1c229528f0eb7 adflib.zip 254914 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..5d9f5be9d49d --- /dev/null +++ b/app-arch/unadf/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>robbat2@gentoo.org</email> +</maintainer> +</pkgmetadata> 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..1454ae2100d5 --- /dev/null +++ b/app-arch/unadf/unadf-0.7.9b.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/unadf/unadf-0.7.9b.ebuild,v 1.1 2005/06/01 00:05:46 robbat2 Exp $ + +inherit eutils + +DESCRIPTION="Extract files from Amiga adf disk images" +SRC_URI="http://perso.club-internet.fr/lclevy/adflib/adflib.zip" +HOMEPAGE="http://perso.club-internet.fr/lclevy/adflib/adflib.html" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="app-arch/unzip" +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/* +} |