summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonçalo Camelo Neves Pereira2018-04-01 23:44:44 +0100
committerGonçalo Camelo Neves Pereira2018-04-01 23:44:44 +0100
commitf487b553f1c421ac9e6efccb27df7ed6656bae74 (patch)
tree3d13306079d582b1e69bc42e4e8590d1bad0de74
downloadaur-f487b553f1c421ac9e6efccb27df7ed6656bae74.tar.gz
Initial Commit
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD36
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b7ffd273cbf
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = esp-idf
+ pkgdesc = Espressif IoT Development Framework. Official development framework for ESP32.
+ pkgver = 3.0_rc1
+ pkgrel = 1
+ url = https://github.com/espressif/esp-idf
+ arch = i686
+ arch = x86_64
+ arch = aarch
+ arch = aarch64
+ arch = armv7h
+ license = APACHE
+ depends = gcc
+ depends = git
+ depends = make
+ depends = ncurses
+ depends = flex
+ depends = bison
+ depends = gperf
+ depends = python2-pyserial
+ source = https://github.com/espressif/esp-idf/archive/v3.0-rc1.tar.gz
+ sha256sums = SKIP
+
+pkgname = esp-idf
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..78d24a81e92
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Previous Maintainer: Benjamin Chretien <chretien at lirmm dot fr>
+# Maintainer: Gonçalo Camelo Neves Pereira <goncalo_pereira@outlook.pt>
+pkgname=esp-idf
+pkgver=3.0_rc1
+_pkgver=3.0-rc1
+pkgrel=1
+pkgdesc="Espressif IoT Development Framework. Official development framework for ESP32."
+arch=('i686' 'x86_64' 'aarch' 'aarch64' 'armv7h')
+url="https://github.com/espressif/esp-idf"
+license=('APACHE')
+depends=('gcc' 'git' 'make' 'ncurses' 'flex' 'bison' 'gperf' 'python2-pyserial')
+source=(https://github.com/espressif/${pkgname}/archive/v${_pkgver}.tar.gz)
+sha256sums=('SKIP')
+
+build() {
+ cd "${srcdir}/${pkgname}-${_pkgver}"
+
+ msg "Starting CMake (build type = ${_buildtype})"
+
+ # Create a build directory
+ mkdir -p "${srcdir}/${pkgname}-${_pkgver}-build"
+ cd "${srcdir}/${pkgname}-${pkgver}-build"
+
+ # Run CMake in release
+ cmake "${srcdir}/${pkgname}-${_pkgver}"
+
+ make
+}
+
+# Create the package
+package() {
+ # Install in /opt/roboptim
+ cd "${srcdir}/${pkgname}-${_pkgver}-build"
+
+ make install
+} \ No newline at end of file