ELFIO/prepare_cygwin.sh
2012-11-27 11:45:28 +02:00

21 lines
406 B
Bash
Executable File

ELFIOVER='ELFIO-1.0.3'
BUILDVER='1'
FULLVER=${ELFIOVER}-${BUILDVER}
mkdir $1
cp ${ELFIOVER}.tar.gz $1
cd $1
tar -xzf ${ELFIOVER}.tar.gz
cp ../cygwin/${FULLVER}.sh .
mkdir ${ELFIOVER}/CYGWIN-PATCHES
cp ../cygwin/CYGWIN-PATCHES/* ${ELFIOVER}/CYGWIN-PATCHES
./${FULLVER}.sh mkdirs
./${FULLVER}.sh spkg
cd ..
mkdir $2
cp $1/${FULLVER}-src.tar.bz2 $2
cd $2
tar -xjf ${FULLVER}-src.tar.bz2
./${FULLVER}.sh all