diff options
Diffstat (limited to 'net-www/konqueror-embedded/konqueror-embedded-20010207-r1.ebuild')
-rw-r--r-- | net-www/konqueror-embedded/konqueror-embedded-20010207-r1.ebuild | 52 |
1 files changed, 24 insertions, 28 deletions
diff --git a/net-www/konqueror-embedded/konqueror-embedded-20010207-r1.ebuild b/net-www/konqueror-embedded/konqueror-embedded-20010207-r1.ebuild index 03147440631b..205a99a70fec 100644 --- a/net-www/konqueror-embedded/konqueror-embedded-20010207-r1.ebuild +++ b/net-www/konqueror-embedded/konqueror-embedded-20010207-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/konqueror-embedded/konqueror-embedded-20010207-r1.ebuild,v 1.10 2003/02/13 15:36:04 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/konqueror-embedded/konqueror-embedded-20010207-r1.ebuild,v 1.11 2003/09/06 01:54:08 msterret Exp $ A=${PN}-snapshot.tar.gz S=${WORKDIR}/${PN}-snapshot @@ -13,36 +13,32 @@ KEYWORDS="x86 sparc " LICENSE="GPL-2" src_compile() { - - local myconf - if [ "`use qt-embedded`" ] - then - export QTDIR=/opt/qt-embedded - export PATH=$QTDIR/bin:$PATH - export LDFLAGS="-L/usr/lib -lmng -ljpeg" - myconf="--with-qt-dir=$QTDIR --enable-qt-embedded --enable-static --disable-shared --prefix=/usr/embedded" - else - myconf="--prefix=/usr" - fi - try ./configure ${myconf} --host=${CHOST} \ + local myconf + if [ "`use qt-embedded`" ] + then + export QTDIR=/opt/qt-embedded + export PATH=$QTDIR/bin:$PATH + export LDFLAGS="-L/usr/lib -lmng -ljpeg" + myconf="--with-qt-dir=$QTDIR --enable-qt-embedded --enable-static --disable-shared --prefix=/usr/embedded" + else + myconf="--prefix=/usr" + fi + try ./configure ${myconf} --host=${CHOST} \ --with-ssl-dir=/usr - try make - + try make } src_install () { - - try make DESTDIR=${D} install - if [ "`use qt-embedded`" ] - then - dodir /usr/embedded/bin - mv ${D}/usr/embedded/konq* ${D}/usr/embedded/bin - else - dodir /usr/bin - # i don't know what an embedded konq loks like, bt it had better not - # conflict with the main konqueror of kde! - danarmak - mv ${D}/usr/konq* ${D}/usr/bin - fi - + try make DESTDIR=${D} install + if [ "`use qt-embedded`" ] + then + dodir /usr/embedded/bin + mv ${D}/usr/embedded/konq* ${D}/usr/embedded/bin + else + dodir /usr/bin + # i don't know what an embedded konq loks like, bt it had better not + # conflict with the main konqueror of kde! - danarmak + mv ${D}/usr/konq* ${D}/usr/bin + fi } |