mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 04:52:06 +03:00
edd57d380d
- Fixes the IPC bug - Fixes the terminfo bug - Moves the OSX SDK out of our nixcrpkgs fork. - Vendor nixcrpkgs instead of having it be a submodule.
33 lines
554 B
Bash
33 lines
554 B
Bash
source $setup
|
|
|
|
# This is from the mingw-w64-readline AUR arch package.
|
|
export bash_cv_wcwidth_broken=no
|
|
|
|
tar -xf $src
|
|
|
|
cd readline-$version
|
|
for patch in $patches_p2; do
|
|
echo applying patch $patch
|
|
patch -p2 -i $patch
|
|
done
|
|
for patch in $patches; do
|
|
echo applying patch $patch
|
|
patch -p1 -i $patch
|
|
done
|
|
cd ..
|
|
|
|
mkdir build
|
|
cd build
|
|
|
|
../readline-$version/configure \
|
|
--prefix=$out --host=$host \
|
|
--enable-static --disable-shared \
|
|
--with-curses=$curses
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
mkdir $out/license
|
|
cp ../readline-$version/COPYING $out/license/LICENSE
|