#!/bin/sh
#
# Copyright 2010 Tiago Salvador Souza
# Available under the terms of the GNU GPL.
#
# Ported from http://slackbuilds.org/repository/13.0/libraries/libtorrent-rasterbar
# By: Erik Hanson <erik at slackbuilds dot org>

NAME="libtorrent"
VERSION="0.14.7"
REVISION="1"

PKG_SOURCEURL='http://prdownloads.sourceforge.net/project/$NAME/$NAME/$NAME-$VERSION/$NAME-rasterbar-$VERSION.tar.gz'

. $DLG_ROOT/config
. $DLG_ROOT/SCRIPTS/dropline-functions.sh

PKG_SANIFYNOTOUCH="nah"

cflags
cxxflags
prepare
analyzesource
configure --enable-python-binding   --with-zlib=system --with-boost-system=mt --with-boost-filesystem=mt --with-boost-thread=mt --with-boost-regex=mt --with-boost-program-options=mt 

make
makeinstall
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
