mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-30 04:52:27 +01:00
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
# Contributor: Bradley J Chambers <brad.chambers@gmail.com>
|
|
# Maintainer: Bradley J Chambers <brad.chambers@gmail.com>
|
|
pkgname=nitro
|
|
pkgver=2.7_beta2
|
|
_ver=${pkgver/_beta/dev-}
|
|
pkgrel=1
|
|
pkgdesc="The Nitro NITF project"
|
|
url="https://github.com/hobu/nitro"
|
|
arch="all"
|
|
license="GPL-3.0"
|
|
depends=""
|
|
makedepends="cmake linux-headers"
|
|
install=""
|
|
subpackages="$pkgname-dev"
|
|
source="$pkgname-$_ver.tar.gz::https://github.com/hobu/$pkgname/archive/$_ver.tar.gz
|
|
fix-path-max.patch
|
|
gettid.patch
|
|
"
|
|
builddir="$srcdir/$pkgname-$_ver"
|
|
options="!check"
|
|
|
|
build() {
|
|
mkdir -p "$builddir"
|
|
cd "$builddir"
|
|
|
|
mkdir build && cd build
|
|
cmake .. \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=None
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"/build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
8414cfa4a3ca6bb1ad6536dc149c1d0d52479a9fda916db3c9c9c6fe39b01dba292f73a17b6ba47d757f5107997055e9b19f69ff08beca87dfb59383a4fb184a nitro-2.7dev-2.tar.gz
|
|
4bf97526c39ae9a7c402d42451770b5b1383e44b426b49685a8d66ce5b0dd178f47e0865349b9c4b953af4b94616b2493d732c4562e6be10ba96b40bd1332052 fix-path-max.patch
|
|
d1866140e2fb76ba48c6f63f966ee1079248bdef64dd218fa44c73126649168076cc9e2a36aecd58d2b29a3c326a89e6aa0a8376de89ff94144e49606c9e3d32 gettid.patch
|
|
"
|