summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/crimsonfields/crimsonfields-native_0.4.8.bb1
-rw-r--r--packages/crimsonfields/crimsonfields_0.4.8.bb3
-rw-r--r--packages/libsdl/libsdl-native_1.2.7.bb18
3 files changed, 19 insertions, 3 deletions
diff --git a/packages/crimsonfields/crimsonfields-native_0.4.8.bb b/packages/crimsonfields/crimsonfields-native_0.4.8.bb
index 1e28caf33e..212590b754 100644
--- a/packages/crimsonfields/crimsonfields-native_0.4.8.bb
+++ b/packages/crimsonfields/crimsonfields-native_0.4.8.bb
@@ -24,4 +24,3 @@ do_stage() {
do_install() {
:
}
-
diff --git a/packages/crimsonfields/crimsonfields_0.4.8.bb b/packages/crimsonfields/crimsonfields_0.4.8.bb
index 7afd20589a..1a6f52b8f4 100644
--- a/packages/crimsonfields/crimsonfields_0.4.8.bb
+++ b/packages/crimsonfields/crimsonfields_0.4.8.bb
@@ -23,7 +23,8 @@ do_configure() {
install -m 0644 ${STAGING_DIR}/${BUILD_SYS}/share/default.* tools/
}
-do_install_append() {
+do_install() {
+ autotools_do_install
install -d ${D}${palmtopdir}/apps/Games/
install -d ${D}${palmtopdir}/pics/
install -m 0644 ${D}${datadir}/applications/crimson.desktop ${D}${palmtopdir}/apps/Games/
diff --git a/packages/libsdl/libsdl-native_1.2.7.bb b/packages/libsdl/libsdl-native_1.2.7.bb
index 9d1a73b852..9cd0d82ffc 100644
--- a/packages/libsdl/libsdl-native_1.2.7.bb
+++ b/packages/libsdl/libsdl-native_1.2.7.bb
@@ -47,7 +47,23 @@ do_stage() {
cat >${STAGING_BINDIR}/sdl-config-native <<EOF
#!/bin/sh
-echo ""
+ case "\$1" in
+ --prefix)
+ echo /usr
+ ;;
+ --exec-prefix)
+ echo /usr
+ ;;
+ --version)
+ echo ${PV}
+ ;;
+ --cflags)
+ echo -I${STAGING_INCDIR}/SDL -D_REENTRANT
+ ;;
+ --libs)
+ echo -lSDLmain -lSDL-1.2 -lpthread -L${STAGING_LIBDIR}
+ ;;
+ esac
EOF
chmod a+rx ${STAGING_BINDIR}/sdl-config-native
}