diff options
Diffstat (limited to 'net-im/sim/sim-0.9.4_pre060504.ebuild')
-rw-r--r-- | net-im/sim/sim-0.9.4_pre060504.ebuild | 103 |
1 files changed, 0 insertions, 103 deletions
diff --git a/net-im/sim/sim-0.9.4_pre060504.ebuild b/net-im/sim/sim-0.9.4_pre060504.ebuild deleted file mode 100644 index 9238409f1e80..000000000000 --- a/net-im/sim/sim-0.9.4_pre060504.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/sim/sim-0.9.4_pre060504.ebuild,v 1.1 2006/05/05 17:42:35 pva Exp $ - -inherit kde-functions eutils debug flag-o-matic libtool - -myver=${PV##*_pre} - -DESCRIPTION="Simple Instant Messenger (with KDE support). ICQ/AIM/Jabber/MSN/Yahoo." -HOMEPAGE="http://sim-im.org/" -#SRC_URI="http://developer.berlios.de/projects/sim-im/${P}.tar.bz2" -SRC_URI="mirror://gentoo/${PN}-${myver}.tar.bz2" -LICENSE="GPL-2" - -SLOT="0" -KEYWORDS="~x86 ~amd64 ~ppc" -IUSE="kde spell ssl" - -# kdebase-data provides the icon "licq.png" -RDEPEND="kde? ( kde-base/kdelibs - || ( kde-base/kdebase-data kde-base/kdebase ) ) - !kde? ( $(qt_min_version 3) - spell? ( app-text/aspell ) ) - ssl? ( dev-libs/openssl ) - dev-libs/libxml2 - dev-libs/libxslt - || ( x11-libs/libXScrnSaver virtual/x11 )" - -DEPEND="${RDEPEND} - sys-devel/flex - app-arch/zip - || ( x11-proto/scrnsaverproto virtual/x11 )" - -S=${WORKDIR}/${PN}-${myver} - -pkg_setup() { - if [ -n ${myver} ] ; then - ewarn "Building svn version exported on ${myver}." - fi - if use kde ; then - if use spell; then - if ! built_with_use kde-base/kdelibs spell ; then - ewarn "kde-base/kdelibs were merged without spell in USE." - ewarn "Thus spelling will not work in sim. Please, either" - ewarn "reemerge kde-base/kdelibs with spell in USE or emerge" - ewarn 'sim with USE="-spell" to avoid this message.' - ebeep - fi - else - if built_with_use kde-base/kdelibs spell ; then - ewarn 'kde-base/kdelibs were merged with spell in USE.' - ewarn 'Thus spelling will work in sim. Please, either' - ewarn 'reemerge kde-base/kdelibs without spell in USE or emerge' - ewarn 'sim with USE="spell" to avoid this message.' - ebeep - fi - fi - if ! built_with_use kde-base/kdelibs arts ; then - myconf="--without-arts" - fi - fi -} - -src_unpack() { - unpack ${A} - cd ${S} - - need-autoconf 2.5 - need-automake 1.7 - - # To avoid questions setting version to the right one :) - sed -i -e "s:sim,0.9.5:sim,${PV%%_pre*}:" configure.in.in - sed -i -e "s: SVN \" __DATE__: SVN ${myver}\":" sim/sim.cpp - - if use kde ; then - set-kdedir 3 - fi - - make -f admin/Makefile.common || die "Failed to create Makefiles..." - elibtoolize --reverse-deps -} - -src_compile() { - filter-flags -fstack-protector -fstack-protector-all - - # Workaround for bug #119906 - append-flags -fno-stack-protector - - if ! use kde ; then - use spell || export DO_NOT_COMPILE="$DO_NOT_COMPILE plugins/spell" - fi - - econf ${myconf} `use_enable kde` \ - `use_with ssl` \ - `use_enable debug` || die "econf failed" - - emake -j1 || die "make failed" -} - -src_install() { - make DESTDIR="${D}" install || die "make install failed." - dodoc TODO README AUTHORS.sim ChangeLog AUTHORS -} |