#Packager: Dimitris Tzemos pkgname=libechonest pkgver=2.3.0 pkgrel=1dj source=("http://files.lfranchi.com/$pkgname-$pkgver.tar.bz2") sourcetemplate=http://people.salixos.org/djemos/salix/$pkgname url="https://projects.kde.org/projects/playground/libs/libechonest" docs=('AUTHORS' 'COPYING' 'README' 'TODO') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libechonest (Echo Nest communication library)" "Qt library for communicating with The Echo Nest." "It currently supports almost all of the features of the Echo Nest API," "including all API functions." ) build() { cd $startdir/src/$pkgname-$pkgver mkdir build cd build cmake \ -DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \ -DCMAKE_C_FLAGS="${SLKCFLAGS}" \ -DCMAKE_INSTALL_PREFIX="/usr" \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ .. make VERBOSE=1 || return 1 make install DESTDIR=$PKG cd .. }