summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2008-10-28 05:50:30 +0000
committerAlfredo Tupone <tupone@gentoo.org>2008-10-28 05:50:30 +0000
commit21fff7a4854043c10ee7ee6c5e7e1ad607791b28 (patch)
treebd2459b7fa224242fbf7d538d5c1361dc91dc0ab /games-emulation/caps/caps-20071115.ebuild
parentBye the two older versions (diff)
downloadgentoo-2-21fff7a4854043c10ee7ee6c5e7e1ad607791b28.tar.gz
gentoo-2-21fff7a4854043c10ee7ee6c5e7e1ad607791b28.tar.bz2
gentoo-2-21fff7a4854043c10ee7ee6c5e7e1ad607791b28.zip
Reverting x86 and ppc binaries. Comment #4 on bug #158416
(Portage version: 2.1.4.5)
Diffstat (limited to 'games-emulation/caps/caps-20071115.ebuild')
-rw-r--r--games-emulation/caps/caps-20071115.ebuild34
1 files changed, 22 insertions, 12 deletions
diff --git a/games-emulation/caps/caps-20071115.ebuild b/games-emulation/caps/caps-20071115.ebuild
index a2be62058f9e..db6f525c1594 100644
--- a/games-emulation/caps/caps-20071115.ebuild
+++ b/games-emulation/caps/caps-20071115.ebuild
@@ -1,15 +1,13 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/caps/caps-20071115.ebuild,v 1.1 2008/10/27 20:44:45 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/caps/caps-20071115.ebuild,v 1.2 2008/10/28 05:50:30 tupone Exp $
inherit eutils multilib
DESCRIPTION="Support library that allows third party applications access and use C.A.P.S. images"
HOMEPAGE="http://www.softpres.org/"
SRC_URI="mirror://gentoo/ipfdevlib_linux-20060612.tgz
- x86? ( ipflib_linux-i686-${PV}.tgz )
amd64? ( ipflib_linux-amd64-${PV}.tgz )
- ppc? ( ipflib_linux-ppc-${PV}.tgz )
doc? ( mirror://gentoo/ipfdoc102a.zip )
mirror://gentoo/config_uae_ocs13_512c-512s.zip"
@@ -25,31 +23,43 @@ RDEPEND=""
S=${WORKDIR}
src_install() {
- local myArch=${ARCH}
-
insinto /usr/include/caps
doins ipfdevlib_linux/include/caps/capsimage.h || die
case ${ARCH} in
- ppc|amd64)
+ ppc)
+ dolib.so ipfdevlib_linux/lib/ppc/libcapsimage.so.2.0 || die
+ dobin ipfdevlib_linux/examples/ppc/ipfinfo || die
;;
x86)
- myArch=i686
+ dolib.so ipfdevlib_linux/lib/i686/libcapsimage.so.2.0 || die
+ dobin ipfdevlib_linux/examples/i686/ipfinfo || die
+ ;;
+ amd64)
+ dolib.so ipflib_linux-amd64/libcapsimage.so.2.3 || die
+ dobin ipflib_linux-amd64/ipfinfo || die
;;
*)
eerror "Unsupported platform"
;;
esac
- dolib.so ipflib_linux-${myArch}/libcapsimage.so.2.3 || die
- dobin ipflib_linux-${myArch}/ipfinfo || die
- dosym /usr/$(get_libdir)/libcapsimage.so.2.3 \
- /usr/$(get_libdir)/libcapsimage.so.2
+ 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 || die
doins ipfdevlib_linux/examples/ipfinfo.c || die
use doc && dodoc CAPSLib102a-40.pdf
- dodoc ipflib_linux-${myArch}/{HISTORY,README}
}