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/
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
}