# KvIRC 3.0.0beta1 ebuild # Written by Bryan Stine S=${WORKDIR}/kvirc-3.0.0-beta1 DESCRIPTION="A QT-based IRC Client" HOMEPAGE="http://www.kvirc.net" SRC_URI="ftp://ftp.kvirc.net/kvirc/3.0.0-beta1/source/kvirc-3.0.0-beta1.tar.gz ftp://ftp.de.kvirc.net/kvirc/3.0.0-beta1/source/kvirc-3.0.0-beta1.tar.gz ftp://kvirc.firenze.linux.it/pub/kvirc/3.0.0-beta1/source/kvirc-3.0.0-beta1.tar.gz" DEPEND="virtual/glibc =x11-libs/qt-3* kde? ( >=kde-base/kde-3.0 ) ssl? ( dev-libs/openssl )" src_unpack() { cd ${WORKDIR} # Sorry, but we need to stick with the static filename for now. unpack kvirc-3.0.0-beta1.tar.gz } src_compile() { # Conf flag storage local myconf if [ -x /bin/egrep ] ; then echo ${CHOST} | egrep "i?86" && myconf="--with-ix86-asm" # Optimize on x86 boxen fi # Various use flags use kde && myconf="${myconf} --with-kde-support" use ssl || myconf="${myconf} --without-ssl-support" use antialias || myconf="${myconf} --with-aa-fonts" use ipv6 || myconf="${myconf} --without-ipv6-support" use esd || myconf="${myconf} --without-esd-support" use arts || myconf="${myconf} --without-arts-support" use pizza && myconf="${myconf} --with-pizza" # Wheee! # Run configure script ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST} \ --infodir=/usr/share/info --with-big-channels ${myconf} || die # Compile make kvirc || die } src_install() { # Stick with just make install, it includes docs now make install DESTDIR=${D} || die # Include all the base documentation for system docs dodoc README INSTALL ChangeLog TODO }