blob: 35a7e6bdbcc9a2f951cf462f9f2e7d96c2cafbea (
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
|
# Maintainer: Chenss 'ufbycd@163.com'
_pkgname=xtensa-lx106-elf-gcc
pkgname=$_pkgname-bin
pkgver=8.4.0
pkgrel=1
_espver=2020r3
pkgdesc="ESP8266 GCC Cross-compiler Toolchain"
arch=('x86_64')
url="https://github.com/espressif/ESP8266_RTOS_SDK"
license=('GPL')
options=(!strip libtool staticlibs emptydirs)
provides=("xtensa-lx106-elf-gcc")
conflicts=("xtensa-lx106-elf-gcc")
depends=('sh')
optdepends=()
install=$_pkgname.install
source=($_pkgname.install
"$_pkgname.sh"
"https://dl.espressif.com/dl/${_pkgname}${pkgver//"."/"_"}-esp-${_espver}-linux-amd64.tar.gz")
sha256sums=('8fa5e234d15686f29b679b6808b2f8971c0e3271859502c295ee8420b6ab0d53'
'9b9499713cb6911616ded8bd3b82568e9d602540e2ff1ca4d996ff06e80c0c0a'
'0a1804b5e2231c6db8b72af6bc2a0f9a5b6994cfba29956d412651109f13fe7e')
package() {
install -d "$pkgdir"/opt/$_pkgname
cp -af xtensa-lx106-elf/* "$pkgdir"/opt/$_pkgname
install -Dm755 $_pkgname.sh "$pkgdir"/etc/profile.d/$_pkgname.sh
}
|