blob: aac9af75f6239ea75259a7f39aad0e6e327060fb (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-games/physfs/physfs-1.0.1.ebuild,v 1.4 2006/03/18 16:10:02 corsair Exp $
DESCRIPTION="abstraction layer for filesystems, useful for games"
HOMEPAGE="http://icculus.org/physfs/"
SRC_URI="http://icculus.org/physfs/downloads/${P}.tar.gz"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
IUSE=""
DEPEND="sys-libs/zlib"
src_compile() {
# the test prog is not used by src_test() or installed,
# so lets just punt it and be done
econf \
--disable-testprog \
--disable-internal-zlib \
|| die
emake || die
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc CHANGELOG CREDITS TODO docs/README
}
|