Created
July 12, 2016 19:07
-
-
Save lucasdemarchi/fab8727828cd85c7501e64db9840f97b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DESCRIPTION = "ArduPilot Autopilot Suite" | |
DEPENDS = "" | |
LICENSE = "GPL-3.0+" | |
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=d32239bcb673463ab874e80d47fae504" | |
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" | |
PV="3.4dev" | |
SRCREV = "2e59cee1d628b241ad6b44cd6faccc32513f9635" | |
SRC_URI = "gitsm://github.com/lucasdemarchi/ardupilot.git;protocol=git;branch=next" | |
S = "${WORKDIR}/git" | |
do_configure() { | |
cd ${S} | |
./modules/waf/waf-light configure --board minlure --prefix=/usr/ | |
} | |
do_compile() { | |
cd ${S} | |
./modules/waf/waf-light | |
} | |
do_install() { | |
cd ${S} | |
./modules/waf/waf-light install --destdir=${D} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=ardupilot-git | |
_srcname=ardupilot | |
pkgver=3.4dev | |
pkgrel=1 | |
pkgdesc="ArduPilot Autopilot Suite" | |
arch=('any') | |
url="http://ardupilot.org" | |
license=('GPL3') | |
source=("${_srcname}::git+https://github.com/lucasdemarchi/ardupilot.git#branch=next") | |
sha256sums=('SKIP') | |
prepare() { | |
cd "${srcdir}/${_srcname}" | |
git submodule init | |
git submodule update modules/waf | |
} | |
build() { | |
cd "${srcdir}/${_srcname}" | |
msg "Starting build..." | |
${srcdir}/${_srcname}/modules/waf/waf-light configure --board=minlure --prefix=/usr | |
${srcdir}/${_srcname}/modules/waf/waf-light | |
} | |
package() { | |
cd "${srcdir}/${_srcname}" | |
${srcdir}/${_srcname}/modules/waf/waf-light install --destdir=${pkgdir} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment