196d555092
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.
36 lines
1.2 KiB
Text
36 lines
1.2 KiB
Text
pkgname=libpbnjson
|
|
pkgver=2.9.1
|
|
pkgrel=2
|
|
pkgdesc="Palm's Better Native JSON library"
|
|
arch="all"
|
|
url="http://webos-ports.org"
|
|
license="GPL-3.0+"
|
|
depends="uriparser"
|
|
depends_dev="uriparser-dev glib-dev"
|
|
makedepends="cmake-modules-webos glib-dev yajl-dev gperf gmp-dev uriparser-dev boost-dev sqlite-libs lemon"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/openwebos/libpbnjson/archive/versions/$pkgver.tar.gz
|
|
replace-bash-with-sh.patch"
|
|
subpackages="$pkgname-dev"
|
|
|
|
prepare() {
|
|
mkdir -p "$srcdir"/build
|
|
cd "$srcdir"/$pkgname-versions-$pkgver
|
|
patch -p1 < "$srcdir"/replace-bash-with-sh.patch
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir"/build
|
|
cmake "$srcdir"/$pkgname-versions-$pkgver \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DWEBOS_INSTALL_ROOT=/ \
|
|
-DNO_LOGGING:BOOL=TRUE
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir"/build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
sha512sums="febecef9ad5eaffdb32618bca68bdd3f0121ec34a436c8b0a82a8bc4d18f4b860771bb9ab8a1b3b22a30bf915b3a9ccba491c9c3c6b51537ef5510ef2dd953b3 libpbnjson-2.9.1.tar.gz
|
|
1e434f7deeb11b6a03d8831289b7c60d54576a75eaac9e30dc990f0bf08debfc6f5dd45c722737f1d44b0b60d81553456a013deba03efe2c3962bbacd0da25d9 replace-bash-with-sh.patch"
|