diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-08-07 20:16:17 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-08-07 20:16:17 (GMT) |
commit | 35a8b2c75a53610337bfeb7ae493f66ebd001d86 (patch) | |
tree | b3e217d4cf21758e9e13f196195917c74b13f4a8 /abs/extra/libplatform/PKGBUILD | |
parent | dede22dab59777de2d32928db744e5202f644aef (diff) | |
download | linhes_pkgbuild-35a8b2c75a53610337bfeb7ae493f66ebd001d86.zip linhes_pkgbuild-35a8b2c75a53610337bfeb7ae493f66ebd001d86.tar.gz linhes_pkgbuild-35a8b2c75a53610337bfeb7ae493f66ebd001d86.tar.bz2 |
libplatform: initial inclusion. dep of libcec
Diffstat (limited to 'abs/extra/libplatform/PKGBUILD')
-rw-r--r-- | abs/extra/libplatform/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/extra/libplatform/PKGBUILD b/abs/extra/libplatform/PKGBUILD new file mode 100644 index 0000000..87036eb --- /dev/null +++ b/abs/extra/libplatform/PKGBUILD @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com> +# Contributor: Cedric Girard <girard.cedric@gmail.com> + +pkgname=libplatform +pkgver=1.0.10 +pkgrel=1 +pkgdesc="Platform support library used by libCEC and binary add-ons for Kodi" +arch=('i686' 'x86_64') +url="https://github.com/Pulse-Eight/platform" +license=('GPL') +provides=('libplatform') +conflicts=('libplatform') +makedepends=('cmake') +depends=('gcc-libs') +source=(https://github.com/Pulse-Eight/platform/archive/${pkgver}.tar.gz) +sha256sums=('6ba3239cb1c0a5341efcf9488f4d3dfad8c26d6b2994b2b2247e5a61568ab5cd') + +build() { + cd "$srcdir"/platform-${pkgver} + cmake . \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_SHARED_LIBS=1 \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DCMAKE_INSTALL_LIBDIR_NOARCH=/usr/lib + make +} + +package() { + cd "$srcdir"/platform-${pkgver} + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: |