flatten 20260225
This commit is contained in:
34
resources/packages-not-used/libev/prepare
Executable file
34
resources/packages-not-used/libev/prepare
Executable file
@@ -0,0 +1,34 @@
|
||||
set -x
|
||||
mkdir -p sdk/include
|
||||
|
||||
LIB=libev
|
||||
SRC=libev
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
mkdir $LIB
|
||||
pushd $LIB
|
||||
|
||||
wget http://dist.schmorp.de/libev/libev-4.33.tar.gz
|
||||
tar xf libev-4.33.tar.gz
|
||||
|
||||
ln -s libev*/ libev
|
||||
pushd libev
|
||||
./configure
|
||||
make
|
||||
popd
|
||||
|
||||
popd
|
||||
|
||||
pushd sdk/include
|
||||
ln -s ../../$LIB/$SRC libev
|
||||
popd
|
||||
|
||||
UNAME_S=`uname -s`
|
||||
UNAME_M=`uname -m`
|
||||
EXT=${UNAME_S}-${UNAME_M}
|
||||
|
||||
pushd sdk/lib
|
||||
cp ../../$LIB/$SRC/.libs/*.a Debug.$EXT/
|
||||
cp ../../$LIB/$SRC/.libs/*.a Release.$EXT/
|
||||
popd
|
||||
Reference in New Issue
Block a user