summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-29 21:15:18 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-29 21:15:18 +0000
commit7a4b74722c81cfe1c25641c4c89669b1e49d1503 (patch)
tree65d1abc11b491b03ac2fb6bdca4356910112be87 /media-libs
parentgames is first inherit (diff)
downloadhistorical-7a4b74722c81cfe1c25641c4c89669b1e49d1503.tar.gz
historical-7a4b74722c81cfe1c25641c4c89669b1e49d1503.tar.bz2
historical-7a4b74722c81cfe1c25641c4c89669b1e49d1503.zip
make it stable
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libjsw/libjsw-1.5.0.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/media-libs/libjsw/libjsw-1.5.0.ebuild b/media-libs/libjsw/libjsw-1.5.0.ebuild
index a5acfcbb4a76..e6cd1d99e1ac 100644
--- a/media-libs/libjsw/libjsw-1.5.0.ebuild
+++ b/media-libs/libjsw/libjsw-1.5.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libjsw/libjsw-1.5.0.ebuild,v 1.3 2004/02/11 15:17:28 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libjsw/libjsw-1.5.0.ebuild,v 1.4 2004/02/29 21:15:18 vapier Exp $
DESCRIPTION="provide a uniform API and user configuration for joysticks and game controllers"
HOMEPAGE="http://wolfpack.twu.net/libjsw/"
@@ -8,11 +8,10 @@ SRC_URI="ftp://wolfpack.twu.net/users/wolfpack/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ~ppc"
+KEYWORDS="x86 ppc"
IUSE="gtk"
DEPEND="gtk? ( =x11-libs/gtk+-1.2* )"
-#RDEPEND=""
src_compile() {
cd ${S}/include
@@ -26,7 +25,7 @@ src_compile() {
make || die
ln -sf libjsw.so.${PV} libjsw.so
- if [ `use gtk` ] ; then
+ if use gtk ; then
cd ${S}/jscalibrator
sed -e "s:--cflags\`:--cflags\` ${CFLAGS} -I.:" \
-e "s:-ljsw:-ljsw -L../libjsw:" \
@@ -48,7 +47,7 @@ src_install() {
dosym /usr/lib/libjsw.so.${PV} /usr/lib/libjsw.so
doman man/*
- if [ `use gtk` ] ; then
+ if use gtk ; then
cd ${S}/jscalibrator
dobin jscalibrator || die
doman jscalibrator.1