diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-05-21 02:00:42 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-05-21 02:03:48 +0200 |
commit | 2895670336ac6a1b08beafb6be876e67b4acdb74 (patch) | |
tree | ba3f7506a7a0918f50dfd9a331fc1ee37923321b /testing | |
parent | 48ef5ae65632eeafaaae59014f5b31f4df03487c (diff) | |
download | aports-2895670336ac6a1b08beafb6be876e67b4acdb74.tar.bz2 aports-2895670336ac6a1b08beafb6be876e67b4acdb74.tar.xz |
esting/libechonest: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/libechonest/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/testing/libechonest/APKBUILD b/testing/libechonest/APKBUILD new file mode 100644 index 0000000000..1cb80abc29 --- /dev/null +++ b/testing/libechonest/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=libechonest +pkgver=2.3.1 +pkgrel=0 +pkgdesc="C++ library for interfacing with Echo Nest" +url="https://projects.kde.org/projects/playground/libs/libechonest" +arch="all" +license="GPL" +depends="" +depends_dev="qjson-dev qt-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev" +source="http://files.lfranchi.com/libechonest-$pkgver.tar.bz2" + +_builddir="$srcdir"/libechonest-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DECHONEST_BUILD_TESTS=off \ + ../${pkgname}-${pkgver} || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR=${pkgdir} install +} + +md5sums="d8c60545b056145dc66882971a0acf9c libechonest-2.3.1.tar.bz2" +sha256sums="56756545fd1cb3d9067479f52215b6157c1ced2bc82b895e72fdcd9bebb47889 libechonest-2.3.1.tar.bz2" +sha512sums="6d4c3571680657d01516e1fa5c55478a25931a825801b06b7bdd6d16715fe2a72385bd8e74be95e15b8fd2521f8b9f7bde5c2afe73a7bbc1faeba9fadd80d2f3 libechonest-2.3.1.tar.bz2" |