aboutsummaryrefslogtreecommitdiffstats
path: root/testing/esptool/APKBUILD
blob: 6ee50d23eb220af7776ca6f60468a9d221271647 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=esptool
pkgver=1.1
pkgrel=1
pkgdesc="ESP8266 ROM Bootloader utility"
url="https://github.com/themadinventor/esptool"
arch="noarch"
license="GPLv2"
depends="python py-serial py-setuptools"
makedepends="python-dev"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/themadinventor/${pkgname}/archive/v${pkgver}.tar.gz"

builddir="$srcdir/$pkgname-$pkgver"
build() {
	cd "$builddir"
	python setup.py build || return 1
}

package() {
	cd "$builddir"
	python setup.py install --prefix=/usr \
		--root="$pkgdir" || return 1
}

md5sums="9e0c14ced8182adf33808e5a80d7b88e  esptool-1.1.tar.gz"
sha256sums="c059fea707d1fb05ac3febf1dd6e5a74a8fbb42168bced15a079a228b292c30d  esptool-1.1.tar.gz"
sha512sums="869c073cdd2e58f93e3731de28582e57351e22d326cf88eb7f8014f399c2ed1c33ab94607eea60e0dd0f46527f878d69af61db2c9990f956c695e52dadf5cbe8  esptool-1.1.tar.gz"