# Depends on: git qt4 fftw libsamplerate

name=liblastfm
version=1.0.9
release=1
url="https://github.com/lastfm/liblastfm"
description="A Qt4 C++ library for the Last.fm webservices"
maintainer="pierre at nutyx dot org"

build() {
git clone https://github.com/lastfm/liblastfm.git liblastfm
cd liblastfm	
 mkdir build
cd    build
cmake .. \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE='Release' \
    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
    -DBUILD_TESTS=OFF
    make
    make DESTDIR=$PKG install
}
