summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2006-06-12 18:44:56 +0000
committerPeter Volkov <pva@gentoo.org>2006-06-12 18:44:56 +0000
commit08071afc549a3a907aa78f3d58d94c8e1fb09c45 (patch)
tree13a04b1eddaf36e55c5b21017dce4a9fe6ff34e9 /games-emulation/caps/caps-20060612.ebuild
parentOh. Made typo. Fixed. Thanks vim color highlighting for pointing out. (diff)
downloadhistorical-08071afc549a3a907aa78f3d58d94c8e1fb09c45.tar.gz
historical-08071afc549a3a907aa78f3d58d94c8e1fb09c45.tar.bz2
historical-08071afc549a3a907aa78f3d58d94c8e1fb09c45.zip
Version bump. Changed library soname verion on 2. Thank Jonathan Heaney for report in bug 132914.
Package-Manager: portage-2.0.54-r2
Diffstat (limited to 'games-emulation/caps/caps-20060612.ebuild')
-rw-r--r--games-emulation/caps/caps-20060612.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/games-emulation/caps/caps-20060612.ebuild b/games-emulation/caps/caps-20060612.ebuild
new file mode 100644
index 000000000000..a414ce484839
--- /dev/null
+++ b/games-emulation/caps/caps-20060612.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/caps/caps-20060612.ebuild,v 1.1 2006/06/12 18:44:56 pva Exp $
+
+inherit eutils
+
+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-${PV}.tgz
+ doc? ( mirror://gentoo/ipfdoc102a.zip )
+ mirror://gentoo/config_uae_ocs13_512c-512s.zip"
+
+DEPEND="app-arch/unzip"
+LICENSE="CAPS"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc"
+RESTRICT="strip"
+
+S="${WORKDIR}"
+
+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|amd64)
+ dolib.so ipfdevlib_linux/lib/i686/libcapsimage.so.2.0
+ dobin ipfdevlib_linux/examples/i686/ipfinfo
+ ;;
+ *)
+ eerror "Unsupported platform"
+ ;;
+ esac
+ dosym /usr/lib/libcapsimage.so.2.0 /usr/lib/libcapsimage.so.2
+
+ insinto /usr/share/${PN}
+ doins OCS_13_1Mb_800_600.uae
+ doins ipfdevlib_linux/examples/ipfinfo.c
+
+ use doc && dodoc CAPSLib102a-40.pdf
+ cd ${S}/ipfdevlib_linux
+ dodoc HISTORY README || die "doc installation failed"
+}