You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-puzzle/colorcode/colorcode-0.6.1.ebuild

39 lines
804 B

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/colorcode/colorcode-0.6.1.ebuild,v 1.3 2010/05/20 19:47:45 ssuominen Exp $
EAPI=2
inherit eutils qt4-r2 games
MY_PN=ColorCode
DESCRIPTION="A free advanced MasterMind clone"
HOMEPAGE="http://colorcode.laebisch.com/"
SRC_URI="http://${PN}.laebisch.com/download/${MY_PN}-${PV}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="x11-libs/qt-gui:4"
S=${WORKDIR}/${MY_PN}
src_prepare() {
sed -i \
-e '/FLAGS/d' \
ColorCode.pro || die
qt4-r2_src_prepare
}
src_configure() {
eqmake4 ${MY_PN}.pro
}
src_install() {
dogamesbin ${PN} || die
newicon img/cc64.png ${PN}.png
make_desktop_entry ${PN} ${MY_PN}
prepgamesdirs
}