go.paketlendi
This commit is contained in:
parent
e79cf781d2
commit
df0715f21a
|
@ -1,5 +1,5 @@
|
||||||
# Description: GO Programlama dili
|
# Description: GO Programlama dili
|
||||||
# URL: http://golang.org/
|
# URL: http://golang.org/
|
||||||
# Packager: milisarge@gmail.com
|
# Packager: milisarge@gmail.com
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
|
@ -13,15 +13,15 @@ source=(https://storage.googleapis.com/golang/go1.4.3.linux-amd64.tar.gz
|
||||||
build() {
|
build() {
|
||||||
|
|
||||||
install -d $SRC/go1.4
|
install -d $SRC/go1.4
|
||||||
bsdtar -xf $PKGMK_SOURCE_DIR/${name}1.4.3.linux-amd64.tar.gz -C $SRC/go1.4 --strip-components 1
|
bsdtar -xf $DERLEME_KAYNAKDIZIN/${name}1.4.3.linux-amd64.tar.gz -C $SRC/go1.4 --strip-components 1
|
||||||
bsdtar -xf $PKGMK_SOURCE_DIR/${name}${version}.src.tar.gz -C $SRC
|
bsdtar -xf $DERLEME_KAYNAKDIZIN/${name}${version}.src.tar.gz -C $SRC
|
||||||
|
|
||||||
export GOROOT_BOOTSTRAP=${SRC}/go1.4
|
export GOROOT_BOOTSTRAP=${SRC}/go1.4
|
||||||
export GOROOT_FINAL=/usr/lib/go
|
export GOROOT_FINAL=/usr/lib/go
|
||||||
export GOOS=linux
|
export GOOS=linux
|
||||||
export GOARCH=amd64
|
export GOARCH=amd64
|
||||||
|
|
||||||
patch -p0 -i $SRC/$name-certpath.diff
|
#patch -p0 -i $SRC/$name-certpath.diff
|
||||||
|
|
||||||
cd go/src
|
cd go/src
|
||||||
bash make.bash --no-clean
|
bash make.bash --no-clean
|
||||||
|
|
Loading…
Reference in New Issue