summaryrefslogtreecommitdiff
path: root/packages/nonworking/pixdev/pixdev-stable_0.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/nonworking/pixdev/pixdev-stable_0.1.bb')
-rw-r--r--packages/nonworking/pixdev/pixdev-stable_0.1.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/nonworking/pixdev/pixdev-stable_0.1.bb b/packages/nonworking/pixdev/pixdev-stable_0.1.bb
index e69de29bb2..f2dd8294e0 100644
--- a/packages/nonworking/pixdev/pixdev-stable_0.1.bb
+++ b/packages/nonworking/pixdev/pixdev-stable_0.1.bb
@@ -0,0 +1,29 @@
+DESCRIPTION="Pixil Operating Environment"
+SECTION="gui"
+PRIORITY="optional"
+MAINTAINER="Jordan Crouse <jordan@cosmicpenguin.net>"
+RDEPENDS="microwindows"
+DEPENDS="microwindows"
+
+SRC_URI="${SOURCEFORGE_MIRROR}/pixdev/pixdev-stable-${PV}.tar.gz \
+ file://${FILESDIR}/braces.patch;patch=1"
+export EXTRA_OEMAKE=
+
+inherit autotools
+
+do_compile() {
+ if [ "${MACHINE}" = "ipaq" ]; then CONFIG=defconfig_ipaq; fi
+ if [ "${MACHINE}" = "collie" ]; then CONFIG=defconfig_zaurus; fi
+
+ if [ -z "$CONFIG" ]; then CONFIG=defconfig; fi
+
+ oe_runmake $CONFIG
+ oe_runmake MWDIR=${STAGING_DIR}/target/ "TARGET_CROSS=${TARGET_PREFIX}" all
+}
+
+do_install() {
+ install -d ${D}/${prefix}/pixil
+
+ oe_runmake "TARGET_CROSS=${TARGET_PREFIX}" INSTALL_DIR=${D}/${prefix}/pixil \
+ DEST_DIR=/${prefix}/pixil install
+}