Mercurial > mxe-octave
comparison src/vmime.mk @ 1668:4ee38be1b1cd
package vmime: fix and use .pc file
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Thu, 17 Mar 2011 01:22:52 +0100 |
parents | 9e587ca588dc |
children | f653602a0500 |
comparison
equal
deleted
inserted
replaced
1667:c0cf12e45d84 | 1668:4ee38be1b1cd |
---|---|
48 $(MAKE) -C '$(1)' -j '$(JOBS)' | 48 $(MAKE) -C '$(1)' -j '$(JOBS)' |
49 $(MAKE) -C '$(1)' install | 49 $(MAKE) -C '$(1)' install |
50 | 50 |
51 $(SED) -i 's/posix/windows/g;' '$(1)/examples/example6.cpp' | 51 $(SED) -i 's/posix/windows/g;' '$(1)/examples/example6.cpp' |
52 $(TARGET)-g++ -s -o '$(1)/examples/test-vmime.exe' \ | 52 $(TARGET)-g++ -s -o '$(1)/examples/test-vmime.exe' \ |
53 -I'$(PREFIX)/$(TARGET)/include' \ | |
54 '$(1)/examples/example6.cpp' \ | 53 '$(1)/examples/example6.cpp' \ |
55 -L'$(PREFIX)/$(TARGET)/lib' \ | 54 `'$(TARGET)-pkg-config' vmime --cflags --libs` |
56 -lvmime -lgnutls -lgsasl -lntlm -lgcrypt -lgpg-error -liconv -lidn -lz -lpthread -lws2_32 | |
57 $(INSTALL) -m755 '$(1)/examples/test-vmime.exe' '$(PREFIX)/$(TARGET)/bin/' | 55 $(INSTALL) -m755 '$(1)/examples/test-vmime.exe' '$(PREFIX)/$(TARGET)/bin/' |
58 endef | 56 endef |