From: Simon Josefsson Date: Thu, 25 Nov 2010 14:24:50 +0000 (+0000) Subject: Add. X-Git-Tag: yubikey-personalisation_1.3.5-1~4^2~4 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42878b5a178cc3850d86ff4bc095388087390a6c;p=yubikey-personalization.old Add. --- diff --git a/ykpers4win.mk b/ykpers4win.mk new file mode 100644 index 0000000..d15c036 --- /dev/null +++ b/ykpers4win.mk @@ -0,0 +1,20 @@ +ykpers4win: + rm -rf tmp && mkdir tmp && cd tmp && \ + wget -q http://yubico-c.googlecode.com/files/libyubikey-1.7.tar.gz && \ + tar xfa libyubikey-1.7.tar.gz && \ + cd libyubikey-1.7 && \ + ./configure --host=i686-w64-mingw32 --build=x86_64-unknown-linux-gnu --prefix=$(PWD)/tmp/root && \ + make install check && \ + cd .. && \ + wget -q http://yubikey-personalization.googlecode.com/files/libusb-1.0.8-windows.tar.bz2 && \ + tar xfa libusb-1.0.8-windows.tar.bz2 && \ + cd libusb-1.0.8 && \ + ./configure --host=i686-w64-mingw32 --build=x86_64-unknown-linux-gnu --prefix=$(PWD)/tmp/root && \ + make install && \ + cd .. && \ + wget -q http://yubikey-personalization.googlecode.com/files/ykpers-1.3.5.tar.gz && \ + tar xfa ykpers-1.3.5.tar.gz && \ + cd ykpers-1.3.5/ && \ + PKG_CONFIG_PATH=$(PWD)/tmp/root/lib/pkgconfig ./configure --host=i686-w64-mingw32 --build=x86_64-unknown-linux-gnu --prefix=$(PWD)/tmp/root && \ + make install check && \ + cd ..