mirror of
https://github.com/urbit/shrub.git
synced 2024-12-23 02:41:35 +03:00
16 lines
211 B
Bash
16 lines
211 B
Bash
|
source $setup
|
||
|
|
||
|
tar -xf $src
|
||
|
|
||
|
mkdir build
|
||
|
cd build
|
||
|
|
||
|
sed -i 's$Darwin. | darwin.$Ignore* | ignore*$' ../zlib-$version/configure
|
||
|
|
||
|
CHOST=$host \
|
||
|
../zlib-$version/configure --prefix=$out --static
|
||
|
|
||
|
make
|
||
|
|
||
|
make install
|