summaryrefslogtreecommitdiff
blob: 97ad7c9eb5f229bb55bb2882fe7ad5c6b02383e5 (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libjackasyn/libjackasyn-0.8.ebuild,v 1.4 2004/01/22 11:53:50 torbenh Exp $

DESCRIPTION="An application/library for connecting OSS apps to Jackit."
HOMEPAGE="http://gige.xdv.org/soft/libjackasyn"
SRC_URI="http://devel.demudi.org/download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
DEPEND="virtual/jack"
S=${WORKDIR}/${P}

src_unpack() {
	unpack ${A}

	cd ${S}
	sed -i "s%#include <jack/error.h>%%" libjackasyn.c
}

src_compile() {
	econf || die
	# This package doesnt seem to like emake
	make || die
}

src_install() {
	cp Makefile Makefile~
	sed -e "s:prefix = /usr:prefix = ${D}/usr:" Makefile~ > Makefile

	dodir /usr/lib
	dodir /usr/include
	dodir /usr/bin

	emake install || die
	dodoc AUTHORS CHANGELOG WORKING TODO COPYING
}