#!/bin/bash
#
# Copyright 2009 Eugene Wissner <belka.ew@gmail.com>
# Available under the terms of the GNU GPL.
#

NAME="alsa-plugins"
VERSION="1.0.26"
REVISION="1"

PKG_SOURCEURL='http://alsa.cybermirror.org/plugins/${NAME}-${VERSION}.tar.bz2'
PKG_SANIFYNOTOUCH="yes"

# From LFS project.
PKG_PATCH[0]="/root/alsa-plugins-1.0.26-ffmpeg-1.patch"

. $DLG_ROOT/etc/config
. $DLG_ROOT/lib/dl-base

cflags
cxxflags
prepare

applypatch 0 1

analyzesource
configure
make
makeinstall
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
