update package vmime

This commit is contained in:
Mark Brand 2013-03-24 20:42:25 +01:00
parent 4821ee1a51
commit 9018d60e03
2 changed files with 4 additions and 4 deletions

View File

@ -2161,7 +2161,7 @@ aptitude -t squeeze-backports install cmake yasm</pre>
</tr>
<tr>
<td id="vmime-package">vmime</td>
<td id="vmime-version">9328bf0</td>
<td id="vmime-version">f381654</td>
<td id="vmime-website"><a href="http://www.vmime.org/">VMime</a></td>
</tr>
<tr>

View File

@ -3,7 +3,7 @@
PKG := vmime
$(PKG)_IGNORE :=
$(PKG)_CHECKSUM := ae465f9cd3baab5172bef2754647e0275a2ca498
$(PKG)_CHECKSUM := 604ae725dd0f8e72efe85d835f1da4ff641ba389
$(PKG)_SUBDIR := kisli-vmime-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := https://github.com/kisli/vmime/tarball/$($(PKG)_VERSION)/$(PKG)_FILE
@ -27,12 +27,12 @@ define $(PKG)_BUILD
.
$(MAKE) -C '$(1)' -j '$(JOBS)'
$(SED) -i 's,^\(Libs.private:.* \)$(PREFIX)/$(TARGET)/lib/libiconv\.a,\1-liconv,g' $(1)/libvmime.pc
$(SED) -i 's,^\(Libs.private:.* \)$(PREFIX)/$(TARGET)/lib/libiconv\.a,\1-liconv,g' $(1)/vmime.pc
$(MAKE) -C '$(1)' install
$(SED) -i 's/posix/windows/g;' '$(1)/examples/example6.cpp'
$(TARGET)-g++ -s -o '$(1)/examples/test-vmime.exe' \
'$(1)/examples/example6.cpp' \
`'$(TARGET)-pkg-config' libvmime --cflags --libs`
`'$(TARGET)-pkg-config' vmime --cflags --libs`
$(INSTALL) -m755 '$(1)/examples/test-vmime.exe' '$(PREFIX)/$(TARGET)/bin/'
endef