Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 44 lines (31 sloc) 791 Bytes
#!/usr/bin/env beesh
# BEE_VERSION gotty-2.3.4-0
# more info: https://github.com/markusbkk/gotty
#SRCURL[0]="https://github.com/markusbkk/gotty/archive/refs/tags/v2.3.4.tar.gz gotty-2.3.4.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/bfcc7a112a3995e19f6e0858a70a439c/gotty-2.3.4.tar.gz"
# PATCHURL+=()
BEE_EXTRACT_STRIP=0
build_in_sourcedir
# sourcesubdir_append src
#mee_extract() {
# bee_extract "${@}"
#}
mee_extract() {
tar xof ${1} -C ${S} --strip-components 1
}
#mee_patch() {
# bee_patch "${@}"
#}
#mee_configure() {
# bee_configure
#}
mee_build() {
export GOPATH=${B}/bee_go
export GOCACHE=${B}/.cache
export GOENV=${B}/.env
go build -buildvcs=false
}
mee_install() {
mkdir -p ${D}/usr/bin
install -m0755 -v gotty ${D}/usr/bin/
}