summaryrefslogtreecommitdiff
path: root/openembedded/classes/gpe.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded/classes/gpe.bbclass')
-rw-r--r--openembedded/classes/gpe.bbclass16
1 files changed, 16 insertions, 0 deletions
diff --git a/openembedded/classes/gpe.bbclass b/openembedded/classes/gpe.bbclass
new file mode 100644
index 0000000000..8cd9e4fc5d
--- /dev/null
+++ b/openembedded/classes/gpe.bbclass
@@ -0,0 +1,16 @@
+DEPENDS_prepend = "coreutils-native virtual/libintl intltool-native "
+GPE_TARBALL_SUFFIX ?= "gz"
+SRC_URI = "${GPE_MIRROR}/${PN}-${PV}.tar.${GPE_TARBALL_SUFFIX}"
+FILES_${PN} += "${datadir}/gpe ${datadir}/application-registry"
+
+inherit gettext
+
+gpe_do_compile() {
+ oe_runmake PREFIX=${prefix}
+}
+
+gpe_do_install() {
+ oe_runmake PREFIX=${prefix} DESTDIR=${D} install
+}
+
+EXPORT_FUNCTIONS do_compile do_install