|
|
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.102.20.ebuild,v 1.5 2007/05/01 00:04:49 genone Exp $ | # $Header: /var/cvsroot/gentoo-x86/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.102.20.ebuild,v 1.5 2007/05/01 00:04:49 genone Exp $ |
| |
inherit flag-o-matic eutils multilib check-kernel |
inherit flag-o-matic eutils multilib linux-info |
| |
NETJACK=netjack-0.12rc1 | NETJACK=netjack-0.12rc1 |
| |
|
|
fi | fi |
| |
if use caps; then | if use caps; then |
if is_2_4_kernel; then |
if kernel_is 2 4 ; then |
elog "will build jackstart for 2.4 kernel" | elog "will build jackstart for 2.4 kernel" |
else | else |
elog "using compatibility symlink for jackstart" | elog "using compatibility symlink for jackstart" |
|
|
${myconf} || die "configure failed" | ${myconf} || die "configure failed" |
emake || die "compilation failed" | emake || die "compilation failed" |
| |
if use caps && is_2_4_kernel; then |
if use caps && kernel_is 2 4 ; then |
elog "Building jackstart for 2.4 kernel" | elog "Building jackstart for 2.4 kernel" |
cd ${S}/jackd | cd ${S}/jackd |
emake jackstart || die "jackstart build failed." | emake jackstart || die "jackstart build failed." |
|
|
make DESTDIR=${D} datadir=/usr/share/doc install || die | make DESTDIR=${D} datadir=/usr/share/doc install || die |
| |
if use caps; then | if use caps; then |
if is_2_4_kernel; then |
if kernel_is 2 4 ; then |
cd ${S}/jackd | cd ${S}/jackd |
dobin jackstart | dobin jackstart |
else | else |