diff options
Diffstat (limited to 'community/aixlog/APKBUILD')
-rw-r--r-- | community/aixlog/APKBUILD | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/community/aixlog/APKBUILD b/community/aixlog/APKBUILD index eca8afae2d..bedc23830a 100644 --- a/community/aixlog/APKBUILD +++ b/community/aixlog/APKBUILD @@ -8,29 +8,16 @@ url="https://github.com/badaix/aixlog" arch="noarch" license="MIT" depends="" -makedepends="cmake bash" +makedepends="" install="" options="!check" # not test subpackages="" source="aixlog-$pkgver.tar.gz::https://github.com/badaix/aixlog/archive/v$pkgver.tar.gz" builddir="$srcdir/aixlog-$pkgver" -build() { - cd "$builddir" - if [ "$CBUILD" != "$CHOST" ]; then - CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" - fi - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ - ${CMAKE_CROSSOPTS} - make -} - package() { cd "$builddir" - make DESTDIR="$pkgdir" install + install -Dm644 include/aixlog.hpp "$pkgdir/usr/include/aixlog.hpp" } sha512sums="57f8f98377bf2ae8405244bb20eec0a408419da9545f15ef4357f8b7d9533c15fa65aa0f1a684b079319db2ad488956ff5251c24329a86afcf1661ca2dd3b5b9 aixlog-1.2.0.tar.gz" |