File: README.md

package info (click to toggle)
octave-iso2mesh 1.9.8%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 11,128 kB
  • sloc: cpp: 11,982; ansic: 10,158; sh: 365; makefile: 59
file content (40 lines) | stat: -rw-r--r-- 815 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Commands to build the package, please copy and paste to a terminal

```
VER=1.9.5
PKG=iso2mesh
wget https://github.com/fangq/${PKG}/archive/v${VER}.tar.gz
tar zxvf v${VER}.tar.gz

cd ${PKG}-${VER}/tools/
rm -rf tetgen meshfix

wget https://github.com/fangq/meshfix/archive/v1.2.2.tar.gz
tar zxvf v1.2.2.tar.gz
mv meshfix-1.2.2 meshfix
rm -rf v1.2.2.tar.gz

cd ../../

# remove upstream binary files
cd ${PKG}-${VER}
rm -rf bin/*.mex* bin/*.dll bin/*.exe
mv tools src
rm src/tetgen
mkdir inst
mv *.m inst
mv *.fig inst
mv ChangeLog.txt NEWS
mv COPYING.txt COPYING
cd ..

# recreate the orig package
tar zcvf octave-${PKG}_${VER}.orig.tar.gz ${PKG}-${VER}
cd ${PKG}-${VER}

#download the debian packaging files
git clone https://salsa.debian.org/fangq/octave-${PKG}.git debian

#build deb package
debuild -us -uc
```