mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-28 15:11:22 +00:00
22 lines
321 B
Plaintext
22 lines
321 B
Plaintext
url=$mirror/uuterm.tar.gz
|
|
|
|
fetch() {
|
|
wget -c $url -O src/uuterm.tar.gz
|
|
}
|
|
|
|
unpack() {
|
|
cd src
|
|
[ -d uuterm ] || tar xzf uuterm.tar.gz
|
|
cd -
|
|
}
|
|
|
|
build() {
|
|
cd src/uuterm
|
|
make CC=x86_64-linux-musl-gcc LDFLAGS_X11="-L$libcroot/lib -static" uuterm-x11 || return 1
|
|
cd -
|
|
}
|
|
|
|
install() {
|
|
cp src/uuterm/uuterm-x11 "$root/bin"
|
|
}
|