CROSS_HOST="x86_64-w64-mingw32" SVN_URI="http://dlfcn-win32.googlecode.com/svn" SVN_REV=${PV#*_svn} inherit cross svn DESCRIPTION="dlopen/dlsym/dlclose wrapper for MinGW" HOMEPAGE="http://code.google.com/p/dlfcn-win32/" src_compile() { lndirs cd ${B} ./configure \ --prefix=${CROSS_PREFIX} \ --incdir=${CROSS_INCLUDEDIR} \ --libdir=${CROSS_LIBDIR} \ --enable-shared --enable-static \ --cross-prefix=${CROSS_HOST}- \ || error "configure failed" cygmake } src_test() { cd ${B} PATH="${B}:${PATH}" cygtest }