alicelinux

A lightweight musl + clang/llvm + libressl + busybox distro
git clone https://codeberg.org/emmett1/alicelinux
Log | Files | Refs | README | LICENSE

abuild (465B)


      1 name=containerd
      2 version=2.2.0
      3 release=1
      4 source="https://github.com/${name}/${name}/archive/v${version}/${name}-v${version}.tar.gz"
      5 
      6 build() {
      7 	export GO111MODULE=auto
      8 	mkdir -p src/github.com/$name
      9 	cd src/github.com/$name
     10 	ln -s $SRC/$name-$version $name
     11 	cd $name
     12 	export GOPATH=$SRC
     13 	# use the long commit hash here
     14 	make VERSION=v$version REVISION=75cb2b7193e4e490e9fbdc236c0e811ccaba3376
     15 	install -d -m 0755 $PKG/usr/bin
     16 	install -m 0755 bin/* $PKG/usr/bin/
     17 }