Portage is a package management system used by Gentoo Linux
# ChangeLog for games-arcade/conveysdl
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/conveysdl/ChangeLog,v 1.6 2007/04/09 21:55:52 welp Exp $
09 Apr 2007; Peter Weller
Keyworded ~x86-fbsd wrt bug 173405
15 Mar 2007; Tristan Heaven
Install menu entry, bug #159853
*conveysdl-1.3 (01 Sep 2006)
01 Sep 2006;
Version bump requested with Bug #128660 by Alexandru Toma
11 Aug 2005; Olivier CrĂȘte
Marked ~amd64, closes bug #102163, thanks to meetra for testing
03 May 2005; David Holm
Added to ~ppc.
*conveysdl-1 (19 Feb 2005)
19 Feb 2005; Michael Sterrett
+conveysdl-1.ebuild:
initial commit - ebuild submitted by Alexandru Toma via bug #81635
DIST conveysdl.1.3.tar 429568 RMD160 dc214567c3d5dd349c03d02005a9b50bc52901e9 SHA1 b4d406b9c837457c3da488c8bae0e3ea6254bf94 SHA256 d0de3f8435b6189d2f40fbe5a28f903fbd46d94b53daf10efa53b879346c81cf
EBUILD conveysdl-1.3.ebuild 1368 RMD160 f3febea875565f3f56a1325bf72d78ebd5c0f2e7 SHA1 4edbf21a164dd781776e6881d2cc345013c0da13 SHA256 5f5fd0fd1a2804412cf960c5b114212c610f11d53b766110cc11fc11118bb936
MISC ChangeLog 986 RMD160 514e9f50b7fe8edfe1aea21247b0e1822af59ece SHA1 7f5fe05992d361524893778749e54b6b235d5256 SHA256 058374bb58372136d78210771915359f8049993df7e03c4400a79cd342f6f7fc
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/conveysdl/conveysdl-1.3.ebuild,v 1.4 2007/04/09 21:55:52 welp Exp $
inherit eutils toolchain-funcs games
DESCRIPTION="Guide the blob along the conveyer belt collecting the red blobs"
HOMEPAGE="http://www.cloudsprinter.com/software/conveysdl/"
SRC_URI="http://www.cloudsprinter.com/software/conveysdl/${P/-/.}.tar"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86 ~x86-fbsd"
IUSE=""
DEPEND="media-libs/libsdl
media-libs/sdl-mixer"
S=${WORKDIR}
src_unpack() {
unpack ${A}
cd "${S}"
# Incomplete readme
sed -i \
-e 's:I k:use -nosound to disable sound\n\nI k:' \
readme \
|| die "sed failed"
sed -i \
-e 's:SDL_Mi:SDL_mi:' \
main.c \
|| die "sed failed"
}
src_compile() {
emake main \
CC="$(tc-getCC)" \
CFLAGS="${CFLAGS} $(sdl-config --cflags) \
-DDATA_PREFIX=\\\"${GAMES_DATADIR}/${PN}/\\\" \
-DENABLE_SOUND" \
LDFLAGS="${LDFLAGS} -lSDL_mixer $(sdl-config --libs)" \
|| die "emake failed"
}
src_install() {
newgamesbin main ${PN} || die "newgamesbin failed"
insinto "${GAMES_DATADIR}"/${PN}
doins -r gfx sounds levels || die "doins failed"
newicon gfx/jblob.bmp ${PN}.bmp
make_desktop_entry ${PN} Convey /usr/share/pixmaps/${PN}.bmp
dodoc readme
prepgamesdirs
}