pmaports/luna/pmloglib/APKBUILD
Alex Roth 196d555092 Merge Luna work into master (#945)
Contains everything from #940, except on top of master now.
Also added a postmarketos-ui-luna package to be a meta-
package for all of the Luna work.

Every component included here builds & runs, but isn't
functional without a handful more packages.
2017-11-29 23:29:26 +00:00

31 lines
795 B
Text

pkgname=pmloglib
pkgver=3.2.0
pkgrel=2
pkgdesc="The Open webOS logging library"
arch="all"
url="http://webos-ports.org"
license="GPL-3.0+"
depends=""
makedepends="cmake-modules-webos glib-dev libpbnjson-dev"
source="$pkgname-$_commit.tar.gz::https://github.com/openwebos/pmloglib/archive/versions/3.2.0.tar.gz"
subpackages="$pkgname-dev"
options="!check"
prepare() {
mkdir -p "$srcdir"/build
}
build() {
cd "$srcdir"/build
cmake "$srcdir"/$pkgname-versions-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWEBOS_INSTALL_ROOT=/
make
}
package() {
cd "$srcdir"/build
make DESTDIR="$pkgdir" install
}
sha512sums="ca8f1ffcfa3a366e677e7e80d6e8f8c8bbeefbf5cccb05b6e8cb2f7e307aeccbcda257ade0d55d4ce6ba6457d7681267d04c53e2f19f5647f8dcb1b56f100678 pmloglib-.tar.gz"