diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-05-01 01:36:21 -0300 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-05-03 17:35:25 +0000 |
commit | 4a87148212bf0b09eab3897d2dc70585f17d5cd8 (patch) | |
tree | b9bb59bb6b20018b11fa9d5653423137bccff3d3 /testing/brotli/APKBUILD | |
parent | 5fd122be81534df7251b7908f8a9e7edc88acd4f (diff) | |
download | aports-4a87148212bf0b09eab3897d2dc70585f17d5cd8.tar.bz2 aports-4a87148212bf0b09eab3897d2dc70585f17d5cd8.tar.xz |
community/brotli: move from testing
Diffstat (limited to 'testing/brotli/APKBUILD')
-rw-r--r-- | testing/brotli/APKBUILD | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/testing/brotli/APKBUILD b/testing/brotli/APKBUILD deleted file mode 100644 index d34babdd4c..0000000000 --- a/testing/brotli/APKBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# Contributor: prspkt <prspkt@protonmail.com> -# Maintainer: prspkt <prspkt@protonmail.com> -pkgname=brotli -pkgver=1.0.7 -pkgrel=1 -pkgdesc="Generic lossless compressor" -url="https://github.com/google/brotli" -arch="all" -license="MIT" -makedepends="cmake" -subpackages="$pkgname-doc $pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/google/brotli/archive/v$pkgver.tar.gz - optimize-mips-s390x.patch - " -builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - default_prepare - sed -i 's,/usr/bin/env bash,/bin/sh,' tests/*.sh -} - -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_INSTALL_LIBDIR=lib \ - -DBUILD_SHARED_LIBS=True \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_C_FLAGS="$CFLAGS" \ - ${CMAKE_CROSSOPTS} - make -} - -check() { - cd "$builddir" - make test -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install - - local man; for man in docs/*.?; do - install -D -m644 $man "$pkgdir"/usr/share/man/man${man##*.}/${man##*/} - done -} - -sha512sums="a82362aa36d2f2094bca0b2808d9de0d57291fb3a4c29d7c0ca0a37e73087ec5ac4df299c8c363e61106fccf2fe7f58b5cf76eb97729e2696058ef43b1d3930a brotli-1.0.7.tar.gz -59e934578ce23b703f8f25f56578f8e9fd1466a9844b6f67b542acd6496df352548e3762697dc3851cfd0f8e1bad170bfdaa3e8a87c901fe81e2f3042e3aee84 optimize-mips-s390x.patch" |