# /bin/rc
# BUILD.rc
# slackmatic build for libebml
# ahl, 2005.12.31 - 2006.03.31
# ===

PACKAGER=linux@andreasliebe.de

## required variable definitions:
NAME=libebml
RELEASE=0.7.7
BUILD=1ahl

PROJECT=http://www.matroska.org/

## list of sources:
## (matroska.org)
SOURCE=(http://dl.matroska.org/downloads/$NAME/$NAME-$RELEASE.tar.bz2)


## required build function:
fn build {

    cd $SRC/$NAME-$RELEASE/make/linux

    ## compile:
    make

    ## install into $PKG:
    make prefix'='$PKG/usr install

    cd $SRC/$NAME-$RELEASE

    ## save some docs from source:
    MY_DOCS=(ChangeLog LICENSE.LGPL)
    for(f in $MY_DOCS){install -m 0644 $f $DOC}

    ## install additional files:
    install -m 0644 $CWD/slack-required $PKG/install
}


### EOF
