From 105152145182762d7d7cd6e5ec22a4be274c501c Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Fri, 5 Jun 2015 01:04:49 +0200 Subject: [PATCH] New package: hooktftp-1.0.0 --- srcpkgs/hooktftp/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/hooktftp/template diff --git a/srcpkgs/hooktftp/template b/srcpkgs/hooktftp/template new file mode 100644 index 00000000000..d9b1261be24 --- /dev/null +++ b/srcpkgs/hooktftp/template @@ -0,0 +1,23 @@ +# Template file for 'hooktftp' +pkgname=hooktftp +version=1.0.0 +revision=1 +_version="a7258310669522806b903c9ffc98ad7c62b02d56" +wrksrc="${pkgname}-${_version}" +hostmakedepends="go bzr git" +short_desc="Hook based tftp server" +maintainer="Andrea Brancaleoni " +license="MIT" +homepage="https://github.com/tftp-go-team/hooktftp" +distfiles="${homepage}/archive/${_version}.tar.gz" +checksum=42cbe6c402aee13722cb55ac1e3a22fc6be27c6313b7c59d7a7277c0e3a6065e +nocross=yes + +do_build() { + GOPATH=$PWD make build +} + +do_install() { + vlicense LICENSE + vbin src/${pkgname} +}