summaryrefslogtreecommitdiff
blob: 804def73c79d9ed27922f7425495f8df7ceb8877 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2005 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.2 2005/01/31 03:39:47 mr_bones_ 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 "make install failed"
	dodoc README.txt
}