diff options
Diffstat (limited to 'testing/tftpy')
-rw-r--r-- | testing/tftpy/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/tftpy/APKBUILD b/testing/tftpy/APKBUILD new file mode 100644 index 000000000..c0f2766da --- /dev/null +++ b/testing/tftpy/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=tftpy +pkgver=0.6.0 +pkgrel=0 +pkgdesc="A Pure Python TFTP Protocol Implementation" +url="http://tftpy.sourceforge.net/" +arch="noarch" +license="MIT" +depends="" +depends_dev="" +makedepends="python-dev" +install="" +subpackages="" +source="http://downloads.sourceforge.net/tftpy/tftpy-$pkgver.tar.gz" +_builddir="$srcdir"/tftpy-$pkgver + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="b306d30ef1799f1932540a54cd72f79d tftpy-0.6.0.tar.gz" |