summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openembedded/packages/puzzles/puzzles_r6358.bb15
1 files changed, 15 insertions, 0 deletions
diff --git a/openembedded/packages/puzzles/puzzles_r6358.bb b/openembedded/packages/puzzles/puzzles_r6358.bb
new file mode 100644
index 000000000..8c6f6401a
--- /dev/null
+++ b/openembedded/packages/puzzles/puzzles_r6358.bb
@@ -0,0 +1,15 @@
+
+SRC_URI = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${PV}.tar.gz"
+
+CFLAGS_prepend = " -I./ `${STAGING_BINDIR}/pkg-config gtk+-2.0 --cflags` "
+do_compile_prepend = " export 'XLDFLAGS=${LDFLAGS} `${STAGING_BINDIR}/pkg-config gtk+-2.0 --libs`'; "
+
+FILES_${PN} = "usr/games/*"
+
+do_install () {
+ export prefix=${D}
+ export DESTDIR=${D}
+ install -d ${D}/usr
+ install -d ${D}/usr/games
+ oe_runmake install
+}