summaryrefslogtreecommitdiff
blob: 552d23f692f2bac7eaf1ac639fe06dd1936c08d9 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/dumb-bmp/dumb-bmp-0.01.ebuild,v 1.3 2005/04/09 13:33:15 mr_bones_ Exp $

inherit flag-o-matic

IUSE=""

DESCRIPTION="BMP plugin to play MOD style files using the dumb libs."
HOMEPAGE="http://dumb.sourceforge.net/"
SRC_URI="http://mitglied.lycos.de/mldoering/${P}.tar.bz2"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64"
S=${WORKDIR}/${PN}

DEPEND="media-sound/beep-media-player
	media-libs/dumb"

src_compile() {
	append-flags -fPIC

	# use our own CFLAGS
	sed -i "s/CFLAGS :=.*/CFLAGS := ${CFLAGS}/" Makefile.inc

	emake || die
}

src_install () {
	insinto "`pkg-config bmp --variable=input_plugin_dir`"
	doins libdumb-bmp.so
}