diff options
author | CyberLeo <cyberleo@cyberleo.net> | 2020-03-28 05:45:52 -0500 |
---|---|---|
committer | CyberLeo <cyberleo@cyberleo.net> | 2020-03-28 05:45:52 -0500 |
commit | 9297468fa579836e3a6a381b798feb6b78217c2d (patch) | |
tree | 53168212f427afbcf0693b534530a4af803152e9 /user/yajl/APKBUILD | |
parent | a63cc05c53a6f4c22422dc8c69808b14d87a6f6e (diff) | |
parent | da5a69b65a8791fffa6e93366ee585f87eff136d (diff) | |
download | packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.gz packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.bz2 packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.xz packages-9297468fa579836e3a6a381b798feb6b78217c2d.zip |
Merge branch 'master' into zfs
Diffstat (limited to 'user/yajl/APKBUILD')
-rw-r--r-- | user/yajl/APKBUILD | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/user/yajl/APKBUILD b/user/yajl/APKBUILD index 6a1f5991d..5be54b007 100644 --- a/user/yajl/APKBUILD +++ b/user/yajl/APKBUILD @@ -7,30 +7,30 @@ url="http://lloyd.github.com/yajl/" arch="all" license="ISC" depends="" -makedepends="cmake" checkdepends="cmd:which" +makedepends="cmake" subpackages="$pkgname-dev $pkgname-tools" source="yajl-$pkgver.tar.gz::https://github.com/lloyd/yajl/archive/$pkgver.tar.gz" build() { - cd "$builddir" - cmake -DCMAKE_INSTALL_PREFIX="/usr" . + cmake \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + . make } -package() { - cd "$builddir" - make install DESTDIR="$pkgdir" - mv "$pkgdir"/usr/share/pkgconfig "$pkgdir"/usr/lib/ -} - check() { - cd "$builddir" make test # make test-api just checks the return status of gen-extra-close # and also forkbombs, so elide that } +package() { + make install DESTDIR="$pkgdir" + mv "$pkgdir"/usr/share/pkgconfig "$pkgdir"/usr/lib/ +} + tools() { pkgdesc="JSON tools based on Yajl" mkdir -p "$subpkgdir"/usr/ |