SHA256
1
0
forked from pool/muparser
muparser/prepare-tar.sh

13 lines
364 B
Bash

#!/bin/sh -ex
in="2_2_3";
out="2.2.3";
wget -c "http://downloads.sf.net/muparser/muparser_v$in.zip";
unzip "muparser_v$in.zip";
mv "muparser_v$in" "muparser-$out";
find "muparser-$out" -type f "(" -iname "*.dll" -o -iname "*.lib" ")" \
-print -delete;
tar --owner=root --group=root --use=xz -cf \
"muparser-$out.tar.xz" "muparser-$out";
rm -Rf "muparser-$out";