#!/bin/bash

PATCHFILES=$PACKAGE.patch
PATCHARG="-d $PACKAGE $PATCHARG"
# CONFIGOPTIONS="--without-ncurses --without-alsa --without-gtk --disable-nls -without-gpm --without-sysmouse --prefix=/usr"
CONFIGOPTIONS="--without-ncurses --without-alsa --without-gtk --disable-nls -without-gpm --without-sysmouse"

ml_required_option KERNEL_SOUND yes

function ml_compile() {
        $MAKE CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" -C $PACKAGE/$PACKAGE/src
}

function ml_installroot() {
        cp -af $BUILD/$PACKAGE/$PACKAGE/src/aumix $ROOT/usr/bin/aumix
        ml_transpose $BUILD/$PACKAGE/init.d/aumix $ROOT/usr/init.d/aumix 755
}

