diff options
author | John J. Ellis <jje@gentoo.org> | 2003-07-20 04:49:41 +0000 |
---|---|---|
committer | John J. Ellis <jje@gentoo.org> | 2003-07-20 04:49:41 +0000 |
commit | 92cf7f86866320c4f07dbe75f5222329db54d6b4 (patch) | |
tree | 0be51463bb1dcd2811f8b6925ffb8da907a3cb00 /media-libs/aldumb | |
parent | Initial revision. Closes part of #23464. (diff) | |
download | gentoo-2-92cf7f86866320c4f07dbe75f5222329db54d6b4.tar.gz gentoo-2-92cf7f86866320c4f07dbe75f5222329db54d6b4.tar.bz2 gentoo-2-92cf7f86866320c4f07dbe75f5222329db54d6b4.zip |
Initial revision. Closes part of #23464.
Diffstat (limited to 'media-libs/aldumb')
-rw-r--r-- | media-libs/aldumb/ChangeLog | 12 | ||||
-rw-r--r-- | media-libs/aldumb/Manifest | 3 | ||||
-rw-r--r-- | media-libs/aldumb/aldumb-0.9.2.ebuild | 36 | ||||
-rw-r--r-- | media-libs/aldumb/files/aldumb-0.9.2.Makefile.patch | 14 | ||||
-rw-r--r-- | media-libs/aldumb/files/digest-aldumb-0.9.2 | 1 |
5 files changed, 65 insertions, 1 deletions
diff --git a/media-libs/aldumb/ChangeLog b/media-libs/aldumb/ChangeLog new file mode 100644 index 000000000000..f2f040ada743 --- /dev/null +++ b/media-libs/aldumb/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for media-libs/aldumb +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/aldumb/ChangeLog,v 1.1 2003/07/20 04:49:33 jje Exp $ + +*aldumb-0.9.2 (20 Jul 2003) + + 20 Jul 2003; jje <jje@gentoo.org> aldumb-0.9.2.ebuild, + files/aldumb-0.9.2.Makefile.patch: + Initial revision. Split out from dumb. See #23464 for details. + + Submitted by: Ben Davis <entheh@users.sf.net> + diff --git a/media-libs/aldumb/Manifest b/media-libs/aldumb/Manifest index 84ec67358fe2..834d4254e8e4 100644 --- a/media-libs/aldumb/Manifest +++ b/media-libs/aldumb/Manifest @@ -1,3 +1,4 @@ -MD5 ff34250dabe5d601ffe8f3be9d26725d aldumb-0.9.2.ebuild 899 +MD5 9c086d4e29a28b913aa1d1a76f168b14 aldumb-0.9.2.ebuild 996 +MD5 f4f354f28896510c7e02554c2d220cbf ChangeLog 453 MD5 74d6f31a83c47d916813fff87eb8e9cf files/digest-aldumb-0.9.2 68 MD5 c86b4d38a194df18a6826e03b0863d50 files/aldumb-0.9.2.Makefile.patch 664 diff --git a/media-libs/aldumb/aldumb-0.9.2.ebuild b/media-libs/aldumb/aldumb-0.9.2.ebuild new file mode 100644 index 000000000000..64411a8bf01a --- /dev/null +++ b/media-libs/aldumb/aldumb-0.9.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/aldumb/aldumb-0.9.2.ebuild,v 1.1 2003/07/20 04:49:33 jje Exp $ + +DESCRIPTION="Allegro support for DUMB. See the 'dumb' package's description for details." +SRC_URI="mirror://sourceforge/dumb/dumb-${PV}-fixed.tar.gz" +HOMEPAGE="http://dumb.sourceforge.net/" + +LICENSE="DUMB-0.9.2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" +DEPEND="=media-libs/dumb-0.9.2-r1 + media-libs/allegro" + +S=${WORKDIR}/dumb + +src_unpack() { + unpack ${A} + cd ${S} + patch Makefile < ${FILESDIR}/aldumb-0.9.2.Makefile.patch || die +} + +src_compile() { + echo 'include make/unix.inc' > make/config.txt || die + echo 'ALL_TARGETS := allegro allegro-examples allegro-headers' >> make/config.txt || die + echo 'PREFIX := /usr' >> make/config.txt || die + emake OFLAGS="${CFLAGS}" all || die +} + +src_install() { + dodir /usr/lib /usr/include /usr/bin + make install PREFIX=${D}/usr || die +} + diff --git a/media-libs/aldumb/files/aldumb-0.9.2.Makefile.patch b/media-libs/aldumb/files/aldumb-0.9.2.Makefile.patch new file mode 100644 index 000000000000..b0c1e7a05bfb --- /dev/null +++ b/media-libs/aldumb/files/aldumb-0.9.2.Makefile.patch @@ -0,0 +1,14 @@ +--- Makefile 2003-04-04 01:34:18.000000000 +0100 ++++ Makefile.aldumb 2003-07-08 16:17:14.000000000 +0100 +@@ -286,8 +286,8 @@ + $(CORE_EXAMPLES_EXE): examples/%$(EXE_SUFFIX): examples/%.o $(CORE_LIB_FILE_RELEASE) + $(CC) $^ -o $@ $(LDFLAGS) $(LINK_MATH) + +-$(ALLEGRO_EXAMPLES_EXE): examples/%$(EXE_SUFFIX): examples/%.o $(ALLEGRO_LIB_FILE_RELEASE) $(CORE_LIB_FILE_RELEASE) +- $(CC) $^ -o $@ $(LDFLAGS) $(LINK_ALLEGRO) ++$(ALLEGRO_EXAMPLES_EXE): examples/%$(EXE_SUFFIX): examples/%.o $(ALLEGRO_LIB_FILE_RELEASE) ++ $(CC) $^ -o $@ $(LDFLAGS) -ldumb $(LINK_ALLEGRO) + + $(CORE_EXAMPLES_OBJ): examples/%.o: examples/%.c include/dumb.h + $(CC) -c $< -o $@ $(CFLAGS_RELEASE) + diff --git a/media-libs/aldumb/files/digest-aldumb-0.9.2 b/media-libs/aldumb/files/digest-aldumb-0.9.2 new file mode 100644 index 000000000000..575391fbac0a --- /dev/null +++ b/media-libs/aldumb/files/digest-aldumb-0.9.2 @@ -0,0 +1 @@ +MD5 0ce45f64934e6d5d7b82a55108596680 dumb-0.9.2-fixed.tar.gz 145722 |