# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="A freshly-minted MUD client, designed to take mudding to a new level." HOMEPAGE="http://www.mudlet.org" #MY_P="${P/_/~}" #MY_P="${MY_P/-/_}" #MY_P="${MY_P%-r*}" #BETA_VER="${MY_P: -6}" #BV1="$(( 1${BETA_VER:0:3} - 1000 ))" #BV2="$(( 1${BETA_VER:3} - 1000 ))" #MY_P="${MY_P%beta[0-0]*}beta${BV1}-${BV2}" SRC_URI="https://launchpad.net/~mudlet-makers/+archive/ppa/+files/${PN}_1.1.1~ppa6.tar.gz" S=${WORKDIR}/ubuntu-packages LICENSE="GPL-3" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" # >=x11-libs/qt-4.4.2 DEPEND=" >=x11-libs/qt-webkit-4.4.2 >=x11-libs/qscintilla-2.2.3 >=dev-lang/lua-5.1 >=dev-libs/libpcre-7.6 >=dev-util/cmake-2.6.4" RDEPEND="${DEPEND}" src_unpack() { unpack ${A} } src_compile() { cd ${S} cmake . || die "CMAKE FAILED!" emake || die "INSTALL FAILED!" } src_install() { cd ${S} emake DESTDIR="${D}" install || die "emake install failed" }