blob: dddf5ffeffaf04f040fefe5c2cdab981f6e7003e (
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.3 2006/01/07 09:08:13 vapier 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 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
}
|