diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2003-11-09 19:53:35 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2003-11-09 19:53:35 +0000 |
commit | 25074ed44ce704891d5ffa520c3b26f59d48e952 (patch) | |
tree | b416c5e86b3a1be134fa5c85c108ac45151c8b21 /net-im/sim/sim-0.9.1.ebuild | |
parent | version bump (diff) | |
download | gentoo-2-25074ed44ce704891d5ffa520c3b26f59d48e952.tar.gz gentoo-2-25074ed44ce704891d5ffa520c3b26f59d48e952.tar.bz2 gentoo-2-25074ed44ce704891d5ffa520c3b26f59d48e952.zip |
version bump
Diffstat (limited to 'net-im/sim/sim-0.9.1.ebuild')
-rw-r--r-- | net-im/sim/sim-0.9.1.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/net-im/sim/sim-0.9.1.ebuild b/net-im/sim/sim-0.9.1.ebuild new file mode 100644 index 000000000000..c374a9609d3d --- /dev/null +++ b/net-im/sim/sim-0.9.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/sim/sim-0.9.1.ebuild,v 1.1 2003/11/09 19:53:25 aliz Exp $ + +if [ $( use kde ) ]; then + inherit kde-base eutils + need-kde 3 +else + inherit base kde-functions eutils + need-qt 3 +fi + +LICENSE="GPL-2" +DESCRIPTION="An ICQ v8 Client. Supports File Transfer, Chat, Server-Side Contactlist, ..." +SRC_URI="mirror://sourceforge/sim-icq/${P}.tar.gz" +HOMEPAGE="http://sim-icq.sourceforge.net" +KEYWORDS="~x86 ~ppc -amd64" +SLOT="0" +IUSE="ssl kde" + +newdepend "ssl? ( dev-libs/openssl )" +DEPEND="$DEPEND sys-devel/flex" + +src_unpack() { + unpack ${A} ; cd ${S} + sed -i "s:head -\([0-9]\):head -n \1:g" acinclude.m4 aclocal.m4 configure + sed -i "s:\.\/Makefile:Makefile:g" configure + sed -i 's:rm -rf $(sim_plugindir)/.*::g' plugins/*/Makefile.in +} + +src_compile() { + local myconf + + myconf="$( use_enable ssl openssl )" + myconf="$myconf $( use_enable kde )" + myconf="$myconf --without-gkrellm_plugin" + myconf="$myconf --prefix=/usr" + + if [ $( use kde ) ]; then + need-kde 3 + else + need-qt 3 + fi + + use kde && kde_src_compile myconf + + econf $myconf --without-gkrellm || die + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + dodoc TODO README ChangeLog COPYING AUTHORS +} |