|
|
@@ -0,0 +1,47 @@
|
|
|
+# Recipe created by recipetool
|
|
|
+# This is the basis of a recipe and may need further editing in order to be fully functional.
|
|
|
+# (Feel free to remove these comments when editing.)
|
|
|
+
|
|
|
+# WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is
|
|
|
+# your responsibility to verify that the values are complete and correct.
|
|
|
+LICENSE = "MIT"
|
|
|
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d9b7e441d51a96b17511ee3be5a75857"
|
|
|
+
|
|
|
+DEPENDS = "lua swupdate"
|
|
|
+
|
|
|
+SRC_URI = "git://github.com/sbabic/lua-swupdate.git;protocol=https"
|
|
|
+
|
|
|
+# Modify these as desired
|
|
|
+PV = "1.0+git${SRCPV}"
|
|
|
+SRCREV = "${AUTOREV}"
|
|
|
+
|
|
|
+S = "${WORKDIR}/git"
|
|
|
+
|
|
|
+EXTRA_OEMAKE = 'DESTDIR=${D} PREFIX=/usr'
|
|
|
+
|
|
|
+FILES_${PN} = "${libdir}"
|
|
|
+
|
|
|
+inherit pkgconfig
|
|
|
+
|
|
|
+# NOTE: the following library dependencies are unknown, ignoring: swupdate
|
|
|
+# (this is based on recipes that have previously been built and packaged)
|
|
|
+
|
|
|
+# NOTE: this is a Makefile-only piece of software, so we cannot generate much of the
|
|
|
+# recipe automatically - you will need to examine the Makefile yourself and ensure
|
|
|
+# that the appropriate arguments are passed in.
|
|
|
+
|
|
|
+do_configure () {
|
|
|
+ # Specify any needed configure commands here
|
|
|
+ :
|
|
|
+}
|
|
|
+
|
|
|
+do_compile () {
|
|
|
+ # You will almost certainly need to add additional arguments here
|
|
|
+ oe_runmake
|
|
|
+}
|
|
|
+
|
|
|
+do_install () {
|
|
|
+ # This is a guess; additional arguments may be required
|
|
|
+ oe_runmake install
|
|
|
+}
|
|
|
+
|