summaryrefslogtreecommitdiff
blob: a67d6e4472f30a04a463e7ae654f4b4a7cc78a08 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Comfortable SAP player based on ASAP library."
HOMEPAGE="http://mmsap.sourceforge.net/"
SRC_URI="mirror://sourceforge/mmsap/${PN}_${PV}.tar.bz2"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE=""

RDEPEND=">=dev-cpp/gtkmm-2.10
	dev-libs/dbus-glib
	>=gnome-base/libglade-2.6
	media-libs/alsa-lib"

DEPEND="${RDEPEND}
	dev-util/pkgconfig"

S="${WORKDIR}/${PN}"

src_compile(){
	cd asap-1.2.0
	econf
	emake lib || die "emake lib failed"
	cd ..
	emake CONF="Release" || die "emake failed"
}

src_install() {
	dobin dist/Release/GNU-Linux-x86/${PN} || die "install failed"
}