summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2008-10-27 20:44:45 +0000
committerAlfredo Tupone <tupone@gentoo.org>2008-10-27 20:44:45 +0000
commitab0371ee65e51b49760466dc6a271cf6d3bb4412 (patch)
tree01b1ec0783194b6ac9930cf331aff9109a12c686 /games-emulation
parentversion bump and clean up: This is a bug fix release with translation updates... (diff)
downloadgentoo-2-ab0371ee65e51b49760466dc6a271cf6d3bb4412.tar.gz
gentoo-2-ab0371ee65e51b49760466dc6a271cf6d3bb4412.tar.bz2
gentoo-2-ab0371ee65e51b49760466dc6a271cf6d3bb4412.zip
Version bump. It includes an amd64 native library. Bug #158416
(Portage version: 2.1.4.5)
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/caps/ChangeLog9
-rw-r--r--games-emulation/caps/caps-20071115.ebuild55
2 files changed, 62 insertions, 2 deletions
diff --git a/games-emulation/caps/ChangeLog b/games-emulation/caps/ChangeLog
index 26f4bba4095f..a06486019745 100644
--- a/games-emulation/caps/ChangeLog
+++ b/games-emulation/caps/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-emulation/caps
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/caps/ChangeLog,v 1.13 2007/12/25 13:04:37 phreak Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/caps/ChangeLog,v 1.14 2008/10/27 20:44:45 tupone Exp $
+
+*caps-20071115 (27 Oct 2008)
+
+ 27 Oct 2008; Tupone Alfredo <tupone@gentoo.org> +caps-20071115.ebuild:
+ Version bump. It includes an amd64 native library. Bug #158416
25 Dec 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing dholm from metadata.xml as per #24623.
diff --git a/games-emulation/caps/caps-20071115.ebuild b/games-emulation/caps/caps-20071115.ebuild
new file mode 100644
index 000000000000..a2be62058f9e
--- /dev/null
+++ b/games-emulation/caps/caps-20071115.ebuild
@@ -0,0 +1,55 @@
+# 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 $
+
+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"
+
+LICENSE="CAPS"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc"
+RESTRICT="strip"
+
+DEPEND="app-arch/unzip"
+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)
+ ;;
+ x86)
+ myArch=i686
+ ;;
+ *)
+ 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
+
+ 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}
+}