File: matlab-gdf.postinst

package info (click to toggle)
libgdf 0.1.2-2.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,100 kB
  • sloc: cpp: 6,120; makefile: 64; sh: 29
file content (24 lines) | stat: -rwxr-xr-x 482 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
set -e
umask 002

distdir=/usr/share/matlab/site/m/gdf

case "$1" in
    configure)
        debian-matlab-mexhelper gdf install \
            --build-cmd 'for f in *.cpp; do	mex $f -lGDF; done' \
            --install-cmd "mv -t $distdir *.mex?*" \
            --clean-cmd 'rm -f *.o *.a *.mex*'
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

#DEBHELPER#