mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-17 19:51:40 +02:00
See: https://lists.alpinelinux.org/~alpine/devel/%3C2896c13070c508a49cbaa72c8fb7f34ea947358b.camel%40cogitri.dev%3E
39 lines
1.1 KiB
Plaintext
39 lines
1.1 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
|
|
"
|
|
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"
|