~alpine/aports

testing/levmar-dev: new aport v2 APPLIED

Edd Salkield: 1
 testing/levmar-dev: new aport

 1 files changed, 33 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/4003/mbox | git am -3
Learn more about email & git

[PATCH v2] testing/levmar-dev: new aport Export this patch

https://users.ics.forth.gr/~lourakis/levmar/
Native ANSI C implementations of the Levenberg-Marquardt optimization algorithm
---
 testing/levmar-dev/APKBUILD | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 testing/levmar-dev/APKBUILD

diff --git a/testing/levmar-dev/APKBUILD b/testing/levmar-dev/APKBUILD
new file mode 100644
index 0000000000..7cf008d59c
--- /dev/null
+++ b/testing/levmar-dev/APKBUILD
@@ -0,0 +1,33 @@
# Contributor: Edd Salkield <edd@salkield.uk>
# Maintainer: Edd Salkield <edd@salkield.uk>
pkgname=levmar-dev
pkgver=2.6
pkgrel=0
pkgdesc="Native ANSI C implementations of the Levenberg-Marquardt optimization algorithm"
url="https://users.ics.forth.gr/~lourakis/levmar/"
arch="all"
license="GPL-2.0-or-later"
makedepends="cmake"
depends="lapack-dev blas-dev"
source="levmar-$pkgver.tar.gz::https://users.ics.forth.gr/~lourakis/levmar/levmar-$pkgver.tgz"
builddir="$srcdir/levmar-$pkgver"

build() {
	cmake -B build \
	-DCMAKE_BUILD_TYPE=MinSizeRel \
	-DNEED_F2C:BOOL=false
	cmake --build build
}

check() {
	./build/lmdemo
}

package() {
	install -Dm644 build/liblevmar.a "$pkgdir"/usr/lib/liblevmar.a
	install -Dm644 levmar.h "$pkgdir"/usr/include/levmar.h
}

sha512sums="
5b4c64b63be9b29d6ad2df435af86cd2c2e3216313378561a670ac6a392a51bbf1951e96c6b1afb77c570f23dd8e194017808e46929fec2d8d9a7fe6cf37022b  levmar-2.6.tar.gz
"
-- 
2.35.1