summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-08-03 09:12:30 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-03 09:12:30 +0000
commit46a255a27b2f4561c64e2f9da5701d45a4170a40 (patch)
tree7d2e9cbf8c55edc62963af70313f21dc5ea9fcfa
parent5e660d6988a190d3a0eee207760fb61737f78942 (diff)
slight fixes to libsdl-native and crimsonfields
-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
}