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/net-misc/cgterm/cgterm-1.6.ebuild

33 lines
715 B

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit eutils
DESCRIPTION="Connect to C64 telnet BBS's with the correct colours and font"
HOMEPAGE="http://www.paradroid.net/cgterm/"
SRC_URI="http://www.paradroid.net/cgterm/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
IUSE=""
KEYWORDS="~amd64 ~ppc x86"
DEPEND=">=media-libs/libsdl-1.2.5"
RDEPEND="${DEPEND}"
src_unpack(){
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-QA.patch"
}
src_compile() {
emake CFLAGS="${CFLAGS} `sdl-config --cflags` -DPREFIX=\\\"/usr\\\"" || die
}
src_install() {
mkdir "${D}/usr"
emake install PREFIX="${D}/usr" LDFLAGS="`sdl-config --libs`" || die
rmdir "${D}/usr/etc"
}