File: libptscotch-dev.install

package info (click to toggle)
scotch 7.0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 22,004 kB
  • sloc: ansic: 85,380; makefile: 4,551; fortran: 2,536; yacc: 645; sh: 276; lex: 213
file content (30 lines) | stat: -rwxr-xr-x 1,210 bytes parent folder | download | duplicates (2)
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
#! /bin/sh

echo int/include/ptscotch.h /usr/include/scotch
echo int/include/ptscotchf.h /usr/include/scotch

echo int32/include/ptscotch.h /usr/include/scotch-int32
echo int32/include/ptscotchf.h /usr/include/scotch-int32

echo int64/include/ptscotch.h /usr/include/scotch-int64
echo int64/include/ptscotchf.h /usr/include/scotch-int64

echo long/include/ptscotch.h /usr/include/scotch-long
echo long/include/ptscotchf.h /usr/include/scotch-long

SCOTCH_STATIC_LIBS="scotch esmumps scotchparmetisv3 scotcherr scotcherrexit"
SCOTCH_LIBS="${SCOTCH_STATIC_LIBS}"

for lib in $SCOTCH_LIBS; do
  echo int/lib/libpt${lib}.so /usr/lib/${DEB_HOST_MULTIARCH}
  echo int32/lib/libpt${lib}.so /usr/lib/${DEB_HOST_MULTIARCH}/scotch-int32
  echo int64/lib/libpt${lib}.so /usr/lib/${DEB_HOST_MULTIARCH}/scotch-int64
  echo long/lib/libpt${lib}.so /usr/lib/${DEB_HOST_MULTIARCH}/scotch-long
done

for lib in $SCOTCH_STATIC_LIBS; do
  echo int/lib/libpt${lib}*.a /usr/lib/${DEB_HOST_MULTIARCH}
  echo int32/lib/libpt${lib}*.a /usr/lib/${DEB_HOST_MULTIARCH}/scotch-int32
  echo int64/lib/libpt${lib}*.a /usr/lib/${DEB_HOST_MULTIARCH}/scotch-int64
  echo long/lib/libpt${lib}*.a /usr/lib/${DEB_HOST_MULTIARCH}/scotch-long
done