diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-emulation/caps/caps-20071115.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-emulation/caps/caps-20071115.ebuild')
-rw-r--r-- | games-emulation/caps/caps-20071115.ebuild | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/games-emulation/caps/caps-20071115.ebuild b/games-emulation/caps/caps-20071115.ebuild new file mode 100644 index 000000000000..e466d2a9e18c --- /dev/null +++ b/games-emulation/caps/caps-20071115.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils multilib + +DESCRIPTION="Support library for accessing and using C.A.P.S. images" +HOMEPAGE="http://www.softpres.org/" +SRC_URI="mirror://gentoo/ipfdevlib_linux-20060612.tgz + amd64? ( mirror://gentoo/ipflib_linux-amd64-${PV}.tgz ) + doc? ( mirror://gentoo/ipfdoc102a.zip ) + mirror://gentoo/config_uae_ocs13_512c-512s.zip" + +LICENSE="CAPS" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc" +RESTRICT="strip" + +DEPEND="app-arch/unzip" +RDEPEND="" + +S=${WORKDIR} + +QA_PREBUILT="usr/lib*/libcapsimage.so* usr/bin/ipfinfo" + +src_install() { + insinto /usr/include/caps + doins ipfdevlib_linux/include/caps/capsimage.h + + case ${ARCH} in + ppc) + dolib.so ipfdevlib_linux/lib/ppc/libcapsimage.so.2.0 + dobin ipfdevlib_linux/examples/ppc/ipfinfo + ;; + x86) + dolib.so ipfdevlib_linux/lib/i686/libcapsimage.so.2.0 + dobin ipfdevlib_linux/examples/i686/ipfinfo + ;; + amd64) + dolib.so ipflib_linux-amd64/libcapsimage.so.2.3 + dobin ipflib_linux-amd64/ipfinfo + ;; + *) + eerror "Unsupported platform" + ;; + esac + + case ${ARCH} in + ppc|x86) + dosym libcapsimage.so.2.0 \ + /usr/$(get_libdir)/libcapsimage.so.2 + dodoc ipfdevlib_linux/{HISTORY,README} + ;; + amd64) + dosym libcapsimage.so.2.3 \ + /usr/$(get_libdir)/libcapsimage.so.2 + dodoc ipflib_linux-amd64/{HISTORY,README} + ;; + esac + + insinto /usr/share/${PN} + doins OCS_13_1Mb_800_600.uae + doins ipfdevlib_linux/examples/ipfinfo.c + + use doc && dodoc CAPSLib102a-40.pdf +} |