add sched.h from bionic: https://github.com/android/platform_bionic/blob/master/libc/include/sched.h
make sched_setaffinity and sched_getaffinity "noop". It doesn't seem essential and fails to compile with the ANDROID NDK
add build script that downloads and builds curl and then cpuminer

if it doesn't work, it at least demonstrates the steps required to build it