/[gentoo-x86]/x11-wm/bbkeys/bbkeys-0.3.6-r1.ebuild
Gentoo

Contents of /x11-wm/bbkeys/bbkeys-0.3.6-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Aug 29 15:15:33 2001 UTC (17 years, 1 month ago) by lamer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Move into x11-misc

1 # Copyright 1999-2000 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author Joe Bormolini <lordjoe@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/x11-wm/bbkeys/bbkeys-0.3.6-r1.ebuild,v 1.2 2001/08/15 19:27:50 lordjoe Exp $
5
6 A=${P}.tar.gz
7 S=${WORKDIR}/${P}
8 DESCRIPTION="bbkeys"
9 SRC_URI="http://movingparts.thelinuxcommunity.org/bbkeys/${A}"
10 HOMEPAGE="http://movingparts.thelinuxcommunity.org"
11
12 DEPEND=">=x11-wm/blackbox-0.61 qt? ( >=x11-libs/qt-x11-2.3.0 )"
13
14 src_compile() {
15
16 if [ "`use qt`" ] ; then
17 cd ${S}/bbkeysconf-1.3
18 local qtdir=${QTDIR}
19 try make MOC=${qtdir}/bin/moc CXXFLAGS="-I${qtdir}/include" LIBS="-L${qtdir}/lib -L/usr/X11R6/lib -lqt -lX11"
20 fi
21 cd ${S}
22 try ./configure --prefix=/usr/X11R6 --host=${CHOST}
23 try emake
24
25 }
26
27 src_install () {
28
29 if [ "`use qt`" ] ; then
30 cd ${S}/bbkeysconf-1.3
31 into /usr/X11R6
32 dobin bbkeysconf
33 fi
34 cd ${S}
35 try make DESTDIR=${D} install
36 cd /usr/X11R6/bin/wm
37 cp blackbox blackbox.bak
38 sed -e s:.*blackbox:"exec /usr/X11R6/bin/bbkeys \&\n&": blackbox.bak > blackbox
39 }
40

  ViewVC Help
Powered by ViewVC 1.1.20