void-packages/srcpkgs/hooktftp/template
2015-07-30 07:13:54 +02:00

23 lines
579 B
Bash

# Template file for 'hooktftp'
pkgname=hooktftp
version=1.0.0
revision=1
_gitcommit="a7258310669522806b903c9ffc98ad7c62b02d56"
wrksrc="${pkgname}-${_gitcommit}"
hostmakedepends="go bzr git"
short_desc="Hook based tftp server"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="MIT"
homepage="https://github.com/tftp-go-team/hooktftp"
distfiles="${homepage}/archive/${_gitcommit}.tar.gz"
checksum=42cbe6c402aee13722cb55ac1e3a22fc6be27c6313b7c59d7a7277c0e3a6065e
nocross=yes
do_build() {
GOPATH=$PWD make build
}
do_install() {
vlicense LICENSE
vbin src/${pkgname}
}