diff options
author | Bart Verwilst <verwilst@gentoo.org> | 2001-12-08 00:11:32 +0000 |
---|---|---|
committer | Bart Verwilst <verwilst@gentoo.org> | 2001-12-08 00:11:32 +0000 |
commit | ffe3dca9a6b65a130d60509ed9a679d265158e73 (patch) | |
tree | 7e1bd8cf87903a090da325981ea7eb36500807fe /net-im | |
parent | various (mainly download and digest) fixes (diff) | |
download | gentoo-2-ffe3dca9a6b65a130d60509ed9a679d265158e73.tar.gz gentoo-2-ffe3dca9a6b65a130d60509ed9a679d265158e73.tar.bz2 gentoo-2-ffe3dca9a6b65a130d60509ed9a679d265158e73.zip |
Previous ebuild wasn't working... I had mine finished as well, with
inheriting...works now..
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/licq/licq-1.0.4.ebuild | 105 |
1 files changed, 53 insertions, 52 deletions
diff --git a/net-im/licq/licq-1.0.4.ebuild b/net-im/licq/licq-1.0.4.ebuild index fa3d7fae8ccc..5a21efdd50ec 100644 --- a/net-im/licq/licq-1.0.4.ebuild +++ b/net-im/licq/licq-1.0.4.ebuild @@ -1,57 +1,58 @@ -# Copyright 1999-2001 Gentoo Technologies, Inc. +# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# Author Donny Davies <woodchip@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/net-im/licq/licq-1.0.4.ebuild,v 1.1 2001/12/07 16:30:52 g2boojum Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="licq" -SRC_URI="http://download.sourceforge.net/${PN}/${P}.tar.bz2" -HOMEPAGE="http://www.licq.org" - -DEPEND="virtual/glibc - ssl? ( >=dev-libs/openssl-0.9.6 ) - qt? ( >=x11-libs/qt-x11-2.2.1 ) - kde? ( >=kde-base/kdebase-2.1 )" - -src_compile() { - local myconf - local myconf2 - - if [ -z "`use ssl`" ] - then - myconf="--disable-openssl" - fi - - if [ "`use socks5`" ] - then - myconf="${myconf} --enable-socks5" - fi - - ./configure --host=${CHOST} --prefix=/usr ${myconf} || die - make || die - - if [ "`use qt`" ] - then - if [ "`use kde`" ] - then - myconf2="--with-kde" - fi - cd ./plugins/qt-gui-1.0.3 - ./configure --host=${CHOST} --prefix=/usr ${myconf2} || die - make || die - cd ../.. - fi +# Author Bart Verwilst <verwilst@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-im/licq/licq-1.0.4.ebuild,v 1.2 2001/12/08 00:11:32 verwilst Exp $ +. /usr/portage/eclass/inherit.eclass || die +use kde && inherit kde-base || die + +SRC_URI="http://download.sourceforge.net/licq/${P}.tar.bz2" + +DEPEND="$DEPEND + ssl? ( >=dev-libs/openssl-0.9.6 ) + qt? ( >=x11-libs/qt-x11-2.2.2 )" + +use kde && need-kdelibs 2.1 +use kde && need-qt 2.2 + +src_compile() { + local first_conf + local second_conf + + cd ${S} + make -f Makefile.cvs || die + if [-z "`use ssl`"] + then + first_conf = "${first_conf} --disable-openssl" + fi + if [ "`use socks5`" ] + then + first_conf = "${first_conf} --enable-socks5" + fi + + ./configure --host=${CHOST} --prefix=/usr ${first_conf} || die + emake || die + + if [ "`use qt`" ] + then + + cd plugins/qt-gui-1.0.4 + make -f Makefile.cvs || die + use kde && kde_src_compile second_conf + use kde && second_conf="${second_conf} --with-kde" + ./configure --host=${CHOST} --prefix=/usr ${second_conf} || die + emake || die + fi + } -src_install() { - make prefix=${D}/usr install || die - dodoc README.OPENSSL doc/* +src_install() { - if [ "`use qt`" ] - then - cd ./plugins/qt-gui-1.0.3 - make prefix=${D}/usr install || die - cd ../.. - fi -} + cd ${S} + make DESTDIR=${D} install || die + if [ "`use qt`" ] + then + cd plugins/qt-gui-1.0.4 + make DESTDIR=${D} install || die + fi +} |