File: tarball

package info (click to toggle)
gap 4.12.1-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 115,100 kB
  • sloc: ansic: 96,895; xml: 47,380; cpp: 13,899; sh: 4,318; perl: 1,652; makefile: 254; javascript: 155
file content (12 lines) | stat: -rw-r--r-- 467 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/bash
set -e
tarball="$1"
if [ -z "$tarball" ];  then
  echo "tarball <gap-core.tar.gz>" 1>&2
  exit 1
fi
version="$(echo "$tarball" | sed -e 's/.*gap-\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)-core\.tar.gz$/\1.\2.\3/')"
test -z "$version" && echo "GAP version not found" && exit 1
echo $version
echo $tarball
mk-origtargz --package gap --version "$version" --compression xz --exclude-file 'extern/*' --exclude-file 'hpcgap/extern/*' --exclude-file '.*' "$tarball"