diff options
Diffstat (limited to 'app-arch/unadf/unadf-0.7.9b.ebuild')
-rw-r--r-- | app-arch/unadf/unadf-0.7.9b.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
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/* +} |