Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
iploc: add version 1.0.20220429-0
- lookup country via IP address
  • Loading branch information
wwwutz committed May 6, 2022
1 parent d485d60 commit 5b36ace
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions iploc.be0
@@ -0,0 +1,42 @@
#!/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
}

0 comments on commit 5b36ace

Please sign in to comment.