You are not logged in.

#1 2019-02-04 23:46:28

kunda
Member
Registered: 2019-01-06
Posts: 4

[Request] Z88OS (Finite Element Analysis solver)

Z88OS - The Compact Finite Elements System
Website: https://en.z88.de/z88os/  and https://en.z88.de/download-z88os/
Repo: https://github.com/LSCAD/Z88OS/releases/tag/v15

SHA256 (LSCAD-Z88OS-v15_GH0.tar.gz) = 5acd4119a2dc35dd18392695a98702471a6e3f85960da5ebaf7f74844fc83727
SIZE (LSCAD-Z88OS-v15_GH0.tar.gz) = 58608217

Here are some patches made for FreeBSD to run Z88OS
https://svnweb.freebsd.org/ports/head/cad/z88/files/

This will be a solver used in FreeCAD.

Last edited by kunda (2019-02-05 00:02:51)

Offline

#2 2019-02-06 15:38:55

loqs
Member
Registered: 2014-03-06
Posts: 7,649

Re: [Request] Z88OS (Finite Element Analysis solver)

I could not locate LSCAD-Z88OS-v15_GH0.tar.gz on https://en.z88.de/download-z88os/
Incomplete PKGBUILD for z88com.  z88com.mk.gcc64 does not use CPPFLAGS or LDFLAGS only CFLAGS,  CFLAGS from the makefile does not append to $CFLAGS.
You could use either sed or patch to change the FLAG usage.  I was unsure which of the binaries you wanted generated so I built the first one as an example.
Prebuilt binaries are removed to ensure installed binaries in package step were built locally.  DIRECA=. is used to stop it use $HOME.

# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Your Name <youremail@domain.com>
pkgname=z880s
_srcname=z88v15os
pkgver=15
pkgrel=1
pkgdesc=""
arch=('x86_64')
url="https://en.z88.de/z88os/"
license=('GPL')
depends=('gtk2')
source=("http://download.z88.de/z88os/v15/z88v15os.zip")
sha256sums=('0b200f89cc060b5c5732728cfb978b0d6cfa762397460d4382063564b9e4c94b')

prepare() {
	cd $_srcname/bin
	rm -rf mac win32 win64
	rm unix64/*
}

build() {
	cd $_srcname
	make -f make/make_unix_64/z88com.mk.gcc64 DIRECA=.
}

package() {
	cd $_srcname
	install -Dm755 bin/unix64/z88com $pkgdir/usr/bin/z88com
}

Offline

#3 2019-02-07 00:56:34

kunda
Member
Registered: 2019-01-06
Posts: 4

Re: [Request] Z88OS (Finite Element Analysis solver)

loqs wrote:

I could not locate LSCAD-Z88OS-v15_GH0.tar.gz on https://en.z88.de/download-z88os/
Incomplete PKGBUILD for z88com.  z88com.mk.gcc64 does not use CPPFLAGS or LDFLAGS only CFLAGS,  CFLAGS from the makefile does not append to $CFLAGS.
You could use either sed or patch to change the FLAG usage.  I was unsure which of the binaries you wanted generated so I built the first one as an example.
Prebuilt binaries are removed to ensure installed binaries in package step were built locally.  DIRECA=. is used to stop it use $HOME.

Sorry, it's a little confusing.
Could we submit this to the AUR once it works ?

Offline

#4 2019-02-07 10:42:37

loqs
Member
Registered: 2014-03-06
Posts: 7,649

Re: [Request] Z88OS (Finite Element Analysis solver)

kunda wrote:
loqs wrote:

I could not locate LSCAD-Z88OS-v15_GH0.tar.gz on https://en.z88.de/download-z88os/
Incomplete PKGBUILD for z88com.  z88com.mk.gcc64 does not use CPPFLAGS or LDFLAGS only CFLAGS,  CFLAGS from the makefile does not append to $CFLAGS.
You could use either sed or patch to change the FLAG usage.  I was unsure which of the binaries you wanted generated so I built the first one as an example.
Prebuilt binaries are removed to ensure installed binaries in package step were built locally.  DIRECA=. is used to stop it use $HOME.

Sorry, it's a little confusing.
Could we submit this to the AUR once it works ?

You can certainly,  I have no interest in maintaining the package.  Does the PKGBUILD I provided not build z88com on your system?

Offline

Board footer

Powered by FluxBB