# Psion's own Solitaire: link the ARM objects they compiled in November 2004 # (gnome-games 2.6.2 aisleriot, with their psionise.patch and short-name.patch # already applied) rather than rebuilding it. AisleRiot's game rules are Guile # Scheme, which is why libguile is needed. set -x rm -rf /build/out; mkdir -p /build/out/bin export PKG_CONFIG_PATH=/usr/lib/pkgconfig cd /build/aisleriot gcc -o /build/out/bin/sol *.o \ $(pkg-config --libs libglade-2.0 libgnomeui-2.0 gconf-2.0 2>/dev/null) \ \ -lrsvg-2 -lguile -lltdl -ldl -lm >> /build/out/sol.log 2>&1 echo "RC_link=$?" grep -E 'undefined reference|cannot find|error:' /build/out/sol.log | head -8 [ -f /build/out/bin/sol ] && { strip /build/out/bin/sol; echo GOT_sol; } || echo MISSING_sol ls -l /build/out/bin