Files
BMLFS/build-scripts/libbytesize-1.4.build
2019-01-04 00:22:34 -06:00

13 lines
388 B
Bash
Executable File

#! /bin/bash
# source: https://github.com/storaged-project/libbytesize/releases/download/1.4/libbytesize-1.4.tar.gz
sed -i 's|canary_tests.sh$||g' tests/Makefile
sed -i 's|DEFAULT_LOCALE =.*|DEFAULT_LOCALE = "C"|g' tests/libbytesize_unittest.py
./configure --prefix=/usr --with-python3 &&
read -p "Compile? " && make -j4 &&
read -p "Install? " && sudo -S porg -lD "make -j1 install"