Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 34 lines (21 sloc) 525 Bytes
#!/bin/sh
TMP=/tmp
BUILDDIR=/qucsbld
mkdir $TMP$BUILDDIR
cd $TMP$BUILDDIR
git clone https://github.com/ra3xdh/qucs_s
cd qucs_s
rm -rf .git
sed -i -e '1 i\SET\(CMAKE_BUILD_TYPE Release\)' CMakeLists.txt
#rm -rf qucs-core
VERSION=`cat VERSION`
#VERSION=0.0.19
EXTRAVERSION=
TARBALL=qucs-s-${VERSION}${EXTRAVERSION}.tar.gz
cd ..
mv qucs_s qucs-s-${VERSION}${EXTRAVERSION}
tar cvfz $TARBALL qucs-s-${VERSION}${EXTRAVERSION}
rm $TMP/$TARBALL
mv $TARBALL $TMP
echo "Qucs tarball is: $TMP/$TARBALL"
rm -rf $TMP$BUILDDIR