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 42 lines (30 sloc) 794 Bytes
#!/usr/bin/env beesh
# BEE_VERSION iploc-1.0.20220429-0
# more info: https://github.com/phuslu/iploc
# SRCURL[0]="https://github.com/phuslu/iploc/archive/refs/tags/v${PKGVERSION}.tar.gz iploc-${PKGVERSION}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/b631bc758cc3bbab72c0da41b4722c2c/iploc-1.0.20220429.tar.gz"
# PATCHURL+=()
# build_in_sourcedir
#sourcesubdir_append
#mee_extract() {
# bee_extract
#}
#mee_patch() {
# bee_patch "${@}"
#}
#mee_configure() {
# bee_configure
#}
mee_build() {
export GOPATH=${B}
export GOCACHE=${B}/.cache
export GOENV=${B}/.env
mkdir -p src/phuslu
ln -vs ${S} src/phuslu/iploc
cd ${B}/src/phuslu/iploc/cmd/iploc
go build main.go
}
mee_install() {
mkdir -p ${D}/usr/bin
cp -v main ${D}/usr/bin/iploc
}