# /bin/rc
# BUILD.rc
# slackmatic build for gsf-sharp
# clear, 2006.02.01 - 2006.02.10
# ===

PACKAGER=clear-camplear@yahoo.com

## required variable definitions:
NAME=gsf-sharp
RELEASE=0.6
BUILD=1cl

PROJECT=http://www.mono-project.com/AnonSVN

## list of sources:
SOURCE=(
http://primates.ximian.com/~joe/gsf-sharp-0.6.tar.gz
)


## required build function:
fn build {

    cd $SRC/$NAME-$RELEASE

    ## configure:
    CFLAGS=$CFLAGS ./configure \
        --prefix'='/usr \
        --sysconfdir'='/etc
        --localstatedir'='/var

    ## compile:
    @{exec make}

    ## install into $PKG:
    @{exec make install DESTDIR'='$PKG}

    ## save some other docs from source:
    MY_DOCS=(COPYING NEWS INSTALL README AUTHORS)
    for(f in $MY_DOCS){
        install -m 0644 $f $DOC

    }

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

}

### EOF
