blob: a93fd0c0a3990512ea535b86ae3e7d722280340e (
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
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.1.3-r1.ebuild,v 1.2 2000/08/16 04:38:08 drobbins Exp $
P=libsdl-1.1.3
A=SDL-1.1.3.tar.gz
S=${WORKDIR}/SDL-1.1.3
DESCRIPTION="Simple Direct Media Layer"
SRC_URI="http://www.libsdl.org/release/"${A}
HOMEPAGE="http://www.libsdl.org/"
src_unpack() {
unpack ${A}
}
src_compile() {
cd ${S}
./configure --host=${CHOST} --prefix=/usr
make
}
src_install() {
cd ${S}
make DESTDIR=${D} install
dodoc BUGS COPYING CREDITS README* TODO WhatsNew
docinto html
dodoc *.html
docinto html/docs
dodoc docs/*.html
for i in audio cdrom events images opengl threads time video
do
docinto html/docs/$i
dodoc docs/$i/*
done
}
|