diff options
author | prspkt <prspkt@protonmail.com> | 2019-03-06 02:40:49 +0200 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-03-06 20:26:42 +0200 |
commit | 6faa58cfb1cb2699a1110a36fe58378a37ea135f (patch) | |
tree | 79b67cb8ab4ad4b058f091c4f3b82ed1ce76b6d2 /community/aixlog | |
parent | 5729748f91f1f6bc976e94518a6a78428899c2e6 (diff) | |
download | aports-6faa58cfb1cb2699a1110a36fe58378a37ea135f.tar.bz2 aports-6faa58cfb1cb2699a1110a36fe58378a37ea135f.tar.xz |
community/aixlog: remove make dependencies
The package is only a header file with no library
Diffstat (limited to 'community/aixlog')
-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" |