FreonLinux/pkgbuild/htop.build

21 lines
310 B
Plaintext
Executable File

cd $tmpdir
# Downloading source
if [ ! -f "$htop" ]; then
echo "Downloading htop sources..."
wget $htopmirror/2.2.0.tar.gz
mv 2.2.0.tar.gz $htop
tar -xf $htop
fi
# Configure
cd $htopsrcdir
./autogen.sh
./configure --prefix=$freondir
# Compile
make -j20
make install
cd ..