blob: a8c3120509c68f4c9f45ab0eda47e847dc4df84f (
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
43
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/allegromp3/allegromp3-2.0.2.ebuild,v 1.2 2003/02/13 12:40:03 vapier Exp $
DESCRIPTION="AllegroMP3 is an Allegro wrapper for the mpglib MP3 decoder part of mpg123."
HOMEPAGE="http://nekros.freeshell.org/delirium/almp3.php"
SRC_URI="http://raythe.sytes.net/TheDeath/almp3.zip"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND=">=media-libs/allegro-4.0.0
>=media-sound/mpg123-0.59r
>=app-arch/unzip-5.50"
RDEPEND="${DEPEND}"
S="${WORKDIR}"
src_compile() {
cd ${S}
sh fixunix.sh
mv Makefile Makefile_orig
sed s/'^TARGET=DJGPP_STATIC'/'#TARGET=DJGPP_STATIC'/ Makefile_orig| sed s/'#TARGET=LINUX_STATIC'/'TARGET=LINUX_STATIC'/ > Makefile
emake || die
}
src_install() {
cd ${S} # needed? -- just to be sure ;)
dodir /usr/include
dodir /usr/lib
insinto /usr/lib
doins lib/linux/libalmp3.a
insinto /usr/include
doins include/*.h
dodoc docs/*.txt *.txt
insinto /usr/share/doc/${P}/examples
doins examples/Makefile examples/example.c
}
|