diff options
-rw-r--r-- | dev-python/pygame/files/digest-pygame-1.2 | 1 | ||||
-rw-r--r-- | dev-python/pygame/pygame-1.2.ebuild | 32 | ||||
-rw-r--r-- | media-libs/sdl-ttf/files/digest-sdl-ttf-2.0.3 | 1 | ||||
-rw-r--r-- | media-libs/sdl-ttf/sdl-ttf-2.0.3.ebuild | 22 |
4 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/pygame/files/digest-pygame-1.2 b/dev-python/pygame/files/digest-pygame-1.2 new file mode 100644 index 000000000000..4511652d1d0a --- /dev/null +++ b/dev-python/pygame/files/digest-pygame-1.2 @@ -0,0 +1 @@ +MD5 8b7aa16f9dbee0c8cdc064a28bd9b3d3 pygame-1.2.tar.gz diff --git a/dev-python/pygame/pygame-1.2.ebuild b/dev-python/pygame/pygame-1.2.ebuild new file mode 100644 index 000000000000..5758294be333 --- /dev/null +++ b/dev-python/pygame/pygame-1.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author David Creswick <davidc@sat.net> +# /home/cvsroot/gentoo-x86/skel.build,v 1.7 2001/08/25 21:15:08 chadh Exp + +S=${WORKDIR}/${P} +DESCRIPTION="python bindings to sdl and other libs that facilitate game production" +SRC_URI="http://www.pygame.org/ftp/${P}.tar.gz" +HOMEPAGE="http://www.pygame.org/" + +#build-time dependencies +DEPEND="virtual/python + >=media-libs/libsdl-1.2.0 + >=media-libs/sdl-ttf-2.0.3 + >=media-libs/sdl-image-1.2.0 + >=media-libs/sdl-mixer-1.2.0 + >=dev-python/Numeric-19.0.0 + >=media-libs/smpeg-0.4.4-r1" + +src_compile() { + python setup.py build || die +} + +src_install () { + python setup.py install --prefix=${D}/usr || die + + dodoc README.TXT WHATSNEW + dodir /usr/share/doc/${P}/html/ + cp -a docs/* ${D}/usr/share/doc/${P}/html/ + cp -a examples ${D}/usr/share/doc/${P}/ +} + diff --git a/media-libs/sdl-ttf/files/digest-sdl-ttf-2.0.3 b/media-libs/sdl-ttf/files/digest-sdl-ttf-2.0.3 new file mode 100644 index 000000000000..ecfc6b0c0d45 --- /dev/null +++ b/media-libs/sdl-ttf/files/digest-sdl-ttf-2.0.3 @@ -0,0 +1 @@ +MD5 29d12d1b883bf834c291c93f52ba8dc5 SDL_ttf-2.0.3.tar.gz diff --git a/media-libs/sdl-ttf/sdl-ttf-2.0.3.ebuild b/media-libs/sdl-ttf/sdl-ttf-2.0.3.ebuild new file mode 100644 index 000000000000..635e1b466ee0 --- /dev/null +++ b/media-libs/sdl-ttf/sdl-ttf-2.0.3.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author David Creswick <davidc@sat.net> + +S="${WORKDIR}/SDL_ttf-${PV}" +DESCRIPTION="library that allows you to use TrueType fonts in SDL applications" +SRC_URI="http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.3.tar.gz" +HOMEPAGE="http://www.libsdl.org/projects/SDL_ttf/" + +#build-time dependencies +DEPEND=">=media-libs/libsdl-1.2 + >=media-libs/freetype-2.0.1" + +src_compile() { + ./configure --infodir=/usr/share/info --mandir=/usr/share/man --prefix=/usr --host=${CHOST} || die + emake || die +} + +src_install () { + make prefix=${D}/usr install || die + dodoc CHANGES COPYING README +} |