mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 03:35:38 +03:00
testing/mylg: fix build and enable on ppc64le
Added -d flag in 'go get' command, otherwise it was trying to install the package and build was failing.
This commit is contained in:
parent
c4b5ae6ff9
commit
45fafdfa16
1 changed files with 4 additions and 4 deletions
|
@ -2,10 +2,10 @@
|
||||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||||
pkgname=mylg
|
pkgname=mylg
|
||||||
pkgver=0.2.6
|
pkgver=0.2.6
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="Network Diagnostic Tool"
|
pkgdesc="Network Diagnostic Tool"
|
||||||
url="http://mylg.io"
|
url="http://mylg.io"
|
||||||
arch="all !ppc64le"
|
arch="all"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
makedepends="go libpcap-dev"
|
makedepends="go libpcap-dev"
|
||||||
subpackages=""
|
subpackages=""
|
||||||
|
@ -15,13 +15,13 @@ builddir="$srcdir/$pkgname-$pkgver"
|
||||||
build() {
|
build() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
export GOPATH="$srcdir"
|
export GOPATH="$srcdir"
|
||||||
go get -v
|
go get -v -d
|
||||||
go build mylg.go
|
go build mylg.go
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
install -Dm0755 "$builddir"/mylg "$pkgdir"/usr/bin/$pkgname
|
install -Dm0755 "$builddir"/mylg "$pkgdir"/usr/bin/$pkgname
|
||||||
}
|
}
|
||||||
|
|
||||||
md5sums="82f0377f3d3edc9b85ff2da4e4120687 mylg-0.2.6.tar.gz"
|
md5sums="82f0377f3d3edc9b85ff2da4e4120687 mylg-0.2.6.tar.gz"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue