summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-02-08 08:37:25 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-02-08 08:37:25 +0000
commitcff5374544aed44de23eb4206fe5066204d524d1 (patch)
tree24b376dfcb0201d244fdf0892aeddef49ad87a79 /games-emulation/caps
parentRespect iodbc headers in odbc module. Closes bug #165853. (diff)
downloadgentoo-2-cff5374544aed44de23eb4206fe5066204d524d1.tar.gz
gentoo-2-cff5374544aed44de23eb4206fe5066204d524d1.tar.bz2
gentoo-2-cff5374544aed44de23eb4206fe5066204d524d1.zip
Error checking
(Portage version: 2.1.2-r8)
Diffstat (limited to 'games-emulation/caps')
-rw-r--r--games-emulation/caps/ChangeLog5
-rw-r--r--games-emulation/caps/caps-20060612.ebuild30
2 files changed, 20 insertions, 15 deletions
diff --git a/games-emulation/caps/ChangeLog b/games-emulation/caps/ChangeLog
index 076e9bd64d5a..d68bd2e65010 100644
--- a/games-emulation/caps/ChangeLog
+++ b/games-emulation/caps/ChangeLog
@@ -1,6 +1,9 @@
# 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.11 2007/02/04 18:32:15 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/caps/ChangeLog,v 1.12 2007/02/08 08:37:25 nyhm Exp $
+
+ 08 Feb 2007; Tristan Heaven <nyhm@gentoo.org> caps-20060612.ebuild:
+ Error checking
04 Feb 2007; Simon Stelling <blubb@gentoo.org> caps-20060612.ebuild:
make sure libs are installed into the right libdir; bug 158416
diff --git a/games-emulation/caps/caps-20060612.ebuild b/games-emulation/caps/caps-20060612.ebuild
index 909046f69219..a288f1b0a6b4 100644
--- a/games-emulation/caps/caps-20060612.ebuild
+++ b/games-emulation/caps/caps-20060612.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 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.5 2007/02/04 18:32:15 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/caps/caps-20060612.ebuild,v 1.6 2007/02/08 08:37:25 nyhm Exp $
use amd64 && ABI=x86
inherit eutils multilib
@@ -11,39 +11,41 @@ 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="nostrip"
+RESTRICT="strip"
+
+DEPEND="app-arch/unzip"
+RDEPEND=""
-S="${WORKDIR}"
+S=${WORKDIR}
src_install() {
insinto /usr/include/caps
- doins ipfdevlib_linux/include/caps/capsimage.h
+ doins ipfdevlib_linux/include/caps/capsimage.h || die
case ${ARCH} in
ppc)
- dolib.so ipfdevlib_linux/lib/ppc/libcapsimage.so.2.0
- dobin ipfdevlib_linux/examples/ppc/ipfinfo
+ dolib.so ipfdevlib_linux/lib/ppc/libcapsimage.so.2.0 || die
+ dobin ipfdevlib_linux/examples/ppc/ipfinfo || die
;;
x86|amd64)
- dolib.so ipfdevlib_linux/lib/i686/libcapsimage.so.2.0
- dobin ipfdevlib_linux/examples/i686/ipfinfo
+ dolib.so ipfdevlib_linux/lib/i686/libcapsimage.so.2.0 || die
+ dobin ipfdevlib_linux/examples/i686/ipfinfo || die
;;
*)
eerror "Unsupported platform"
;;
esac
- dosym /usr/$(get_libdir)/libcapsimage.so.2.0 /usr/$(get_libdir)/libcapsimage.so.2
+ dosym /usr/$(get_libdir)/libcapsimage.so.2.0 \
+ /usr/$(get_libdir)/libcapsimage.so.2
insinto /usr/share/${PN}
- doins OCS_13_1Mb_800_600.uae
- doins ipfdevlib_linux/examples/ipfinfo.c
+ doins OCS_13_1Mb_800_600.uae || die
+ doins ipfdevlib_linux/examples/ipfinfo.c || die
use doc && dodoc CAPSLib102a-40.pdf
- cd ${S}/ipfdevlib_linux
- dodoc HISTORY README || die "doc installation failed"
+ dodoc ipfdevlib_linux/{HISTORY,README}
}