diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 19:03:12 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 19:03:12 +0000 |
commit | dadcbe068c35d74868010de7a74a50c5eef228c7 (patch) | |
tree | 71bf44569e2e5655fa0f404f5f2252964a7c7ae7 /games-mud/ytin/ytin-1.83.5.ebuild | |
parent | umodpack is in games-util now (diff) | |
download | gentoo-2-dadcbe068c35d74868010de7a74a50c5eef228c7.tar.gz gentoo-2-dadcbe068c35d74868010de7a74a50c5eef228c7.tar.bz2 gentoo-2-dadcbe068c35d74868010de7a74a50c5eef228c7.zip |
welcome to games-mud
Diffstat (limited to 'games-mud/ytin/ytin-1.83.5.ebuild')
-rw-r--r-- | games-mud/ytin/ytin-1.83.5.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/games-mud/ytin/ytin-1.83.5.ebuild b/games-mud/ytin/ytin-1.83.5.ebuild new file mode 100644 index 000000000000..62a0268e3d46 --- /dev/null +++ b/games-mud/ytin/ytin-1.83.5.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-mud/ytin/ytin-1.83.5.ebuild,v 1.1 2003/09/10 19:03:12 vapier Exp $ + +inherit games + +DESCRIPTION="yet another TinTin++" +HOMEPAGE="http://ytin.sourceforge.net/" +SRC_URI="mirror://sourceforge/ytin/${PN}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" + +DEPEND="sys-libs/ncurses + >=sys-apps/sed-4" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd ${S} + sed -i 's:extern int errno;::' utils.cpp + echo '#include <errno.h>' >> tintin.h + sed -i '/^LIBS = /s:=:= -lstdc++ :' Makefile.in +} + +src_compile() { + econf || die + emake CFLAGS="${CFLAGS}" || die "emake died" +} + +src_install() { + dobin tt++ || die + dodoc ChangeLog README.1st docs/*.txt + prepgamesdirs +} |