diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-12-27 03:12:57 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-12-27 03:12:57 +0000 |
commit | eace6520fe48ab78a4a73346f9e5023150a53ca4 (patch) | |
tree | 72b5aed5f7bcaa04bd9cfcbeb25426cde3257bb7 | |
parent | Added to ~amd64. (diff) | |
download | historical-eace6520fe48ab78a4a73346f9e5023150a53ca4.tar.gz historical-eace6520fe48ab78a4a73346f9e5023150a53ca4.tar.bz2 historical-eace6520fe48ab78a4a73346f9e5023150a53ca4.zip |
initial ebuild #74221
-rw-r--r-- | media-libs/sdl-flic/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/sdl-flic/Manifest | 16 | ||||
-rw-r--r-- | media-libs/sdl-flic/files/1.2-win32.patch | 12 | ||||
-rw-r--r-- | media-libs/sdl-flic/files/Makefile | 45 | ||||
-rw-r--r-- | media-libs/sdl-flic/files/digest-sdl-flic-1.2 | 1 | ||||
-rw-r--r-- | media-libs/sdl-flic/metadata.xml | 5 | ||||
-rw-r--r-- | media-libs/sdl-flic/sdl-flic-1.2.ebuild | 32 |
7 files changed, 119 insertions, 0 deletions
diff --git a/media-libs/sdl-flic/ChangeLog b/media-libs/sdl-flic/ChangeLog new file mode 100644 index 000000000000..62ef6dbabb3f --- /dev/null +++ b/media-libs/sdl-flic/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for media-libs/sdl-flic +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-flic/ChangeLog,v 1.1 2004/12/27 03:12:57 vapier Exp $ + +*sdl-flic-1.2 (26 Dec 2004) + + 26 Dec 2004; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by Federico Tomassetti #74221. diff --git a/media-libs/sdl-flic/Manifest b/media-libs/sdl-flic/Manifest new file mode 100644 index 000000000000..6aec9d9ddea3 --- /dev/null +++ b/media-libs/sdl-flic/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 c48e5c5a8999f24f43c1ca240a112477 sdl-flic-1.2.ebuild 816 +MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +MD5 1caffc5a2ca5d260bef4f0841d2cde54 ChangeLog 359 +MD5 864ee275a9e49a60c042cdc8786f65f4 files/digest-sdl-flic-1.2 59 +MD5 b64883222af86bff84caa6e6565c126f files/1.2-win32.patch 310 +MD5 7eace4d5464000f5279f8047187b9f96 files/Makefile 1172 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.9.10 (GNU/Linux) + +iD8DBQFBz351roRuSHgZdywRAn+iAJ41U2WRwxE7T+5LMw+HRb7Ba4YSDwCfaujQ +j+4keODfAVNZhxr7w8N1C7M= +=S4vZ +-----END PGP SIGNATURE----- diff --git a/media-libs/sdl-flic/files/1.2-win32.patch b/media-libs/sdl-flic/files/1.2-win32.patch new file mode 100644 index 000000000000..1a2cba6347a4 --- /dev/null +++ b/media-libs/sdl-flic/files/1.2-win32.patch @@ -0,0 +1,12 @@ +--- SDL_flic-1.2/SDL_flic.c.orig 2004-12-26 21:40:52.631451512 -0500 ++++ SDL_flic-1.2/SDL_flic.c 2004-12-26 21:41:08.307068456 -0500 +@@ -30,7 +30,9 @@ + #include <SDL_flic.h>
+ #include <setjmp.h>
+ #include <stdlib.h>
++#ifdef WIN32 + #include <mem.h>
++#endif +
+ /* Library version. */
+ #define FLI_MAJOR 1
diff --git a/media-libs/sdl-flic/files/Makefile b/media-libs/sdl-flic/files/Makefile new file mode 100644 index 000000000000..cfba1c19835a --- /dev/null +++ b/media-libs/sdl-flic/files/Makefile @@ -0,0 +1,45 @@ +CFLAGS += $(shell sdl-config --cflags) -I. -DINLINE= +LDFLAGS += $(shell sdl-config --libs) -L. + +LIB_NAME = libSDL_flic +LIB_SHARED = $(LIB_NAME).so +LIB_STATIC = $(LIB_NAME).a +BIN = playflic +TARGETS = $(LIB_SHARED) $(LIB_STATIC) $(BIN) + +BINDIR = /usr/bin +LIBDIR = /usr/lib +INCDIR = /usr/include + +all: $(TARGETS) + +SDL_flic.lo: SDL_flic.c + $(CC) $(CFLAGS) -fPIC -o $@ -c $< +$(LIB_SHARED): SDL_flic.lo + $(CC) $(LDFLAGS) SDL_flic.lo -shared -Wl,-soname,$@ -o $@.1.0.0 + ln -s $@.1.0.0 $@.1 + ln -s $@.1 $@ + +$(LIB_STATIC): SDL_flic.o + $(AR) rcs $@ $< + +$(BIN): $(LIB_SHARED) playflic.o + $(CC) $(LDFLAGS) -lSDL_flic -o $@ playflic.o + +install: $(TARGETS) + install -d -m 755 $(DESTDIR)/$(LIBDIR) + install -m 644 $(LIB_STATIC) $(DESTDIR)/$(LIBDIR) + install -m 755 $(LIB_SHARED).1.0.0 $(DESTDIR)/$(LIBDIR) + ln -s $(LIB_SHARED).1.0.0 $(DESTDIR)/$(LIBDIR)/$(LIB_SHARED).1 + ln -s $(LIB_SHARED).1 $(DESTDIR)/$(LIBDIR)/$(LIB_SHARED) + + install -d -m 755 $(DESTDIR)/$(BINDIR) + install -m 755 $(BIN) $(DESTDIR)/$(BINDIR) + + install -d -m 755 $(DESTDIR)/$(INCDIR) + install -m 644 SDL_flic.h $(DESTDIR)/$(INCDIR) + +clean: + rm -f libSDL_flic.a libSDL_flic.so* + rm -f *.o *.lo + rm -f playflic diff --git a/media-libs/sdl-flic/files/digest-sdl-flic-1.2 b/media-libs/sdl-flic/files/digest-sdl-flic-1.2 new file mode 100644 index 000000000000..10a735fa6df8 --- /dev/null +++ b/media-libs/sdl-flic/files/digest-sdl-flic-1.2 @@ -0,0 +1 @@ +MD5 5bff7a23861577fa9618cead0e3666ee SDL_flic-12.tgz 52901 diff --git a/media-libs/sdl-flic/metadata.xml b/media-libs/sdl-flic/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/media-libs/sdl-flic/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> diff --git a/media-libs/sdl-flic/sdl-flic-1.2.ebuild b/media-libs/sdl-flic/sdl-flic-1.2.ebuild new file mode 100644 index 000000000000..d941b3a6964d --- /dev/null +++ b/media-libs/sdl-flic/sdl-flic-1.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-flic/sdl-flic-1.2.ebuild,v 1.1 2004/12/27 03:12:57 vapier Exp $ + +inherit eutils + +DESCRIPTION="FLIC animation file loading library" +HOMEPAGE="http://www.geocities.com/andre_leiradella/#sdl_flic" +SRC_URI="http://www.geocities.com/andre_leiradella/SDL_flic-12.tgz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +DEPEND="sys-libs/zlib + >=media-libs/libsdl-1.2.4" + +S="${WORKDIR}"/SDL_flic-${PV} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-win32.patch + cp ${FILESDIR}/Makefile . + edos2unix SDL_flic.h +} + +src_install() { + make DESTDIR="${D}" install || die "install failed" + dodoc README.txt +} |