summaryrefslogtreecommitdiff
path: root/nonworking/libetpan/libetpan_0.31.oe
blob: a96348ed9d6d2d5f1bb8c78009c185ccd40d0621 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
DEPENDS = db3 openssl
RDEPENDS = libc6 db3 openssl

SRC_URI = ${SOURCEFORGE_MIRROR}/libetpan/libetpan-${PV}.tar.gz \
	  file://${FILESDIR}/limits.patch;patch=1 \
	  file://${FILESDIR}/install.patch;patch=1 \
	  file://${FILESDIR}/m4.patch;patch=1

inherit autotools libtool

EXTRA_OECONF = '--with-openssl=${STAGING_LIBDIR}/.. \
		--without-libiconv-prefix'

do_stage () {
	install -m 0644 .libs/libetpan.lai ${STAGING_LIBDIR}/libetpan.la
	install -m 0644 .libs/libetpan.a ${STAGING_LIBDIR}/libetpan.a
	install -m 0755 .libs/libetpan.so.0.0.0 ${STAGING_LIBDIR}/
	ln -sf libetpan.so.0.0.0 ${STAGING_LIBDIR}/libetpan.so.0
	ln -sf libetpan.so.0.0.0 ${STAGING_LIBDIR}/libetpan.so
	install -d ${STAGING_DIR}/target/include/libetpan
	install -m 0644 imap/mailimap_helper.h ${STAGING_DIR}/target/include/libetpan/mailimap_helper.h
	install -m 0644 imap/mailimap.h ${STAGING_DIR}/target/include/libetpan/mailimap.h
	install -m 0644 imap/mailimap_types.h ${STAGING_DIR}/target/include/libetpan/mailimap_types.h
	install -m 0644 imap/mailimap_types_helper.h ${STAGING_DIR}/target/include/libetpan/mailimap_types_helper.h
	install -m 0644 imap/mailimap_socket.h ${STAGING_DIR}/target/include/libetpan/mailimap_socket.h
	install -m 0644 imap/mailimap_ssl.h ${STAGING_DIR}/target/include/libetpan/mailimap_ssl.h
	install -m 0644 nntp/newsnntp.h ${STAGING_DIR}/target/include/libetpan/newsnntp.h
	install -m 0644 nntp/newsnntp_socket.h ${STAGING_DIR}/target/include/libetpan/newsnntp_socket.h
	install -m 0644 nntp/newsnntp_ssl.h ${STAGING_DIR}/target/include/libetpan/newsnntp_ssl.h
	install -m 0644 nntp/newsnntp_types.h ${STAGING_DIR}/target/include/libetpan/newsnntp_types.h
	install -m 0644 pop3/mailpop3.h ${STAGING_DIR}/target/include/libetpan/mailpop3.h
	install -m 0644 pop3/mailpop3_socket.h ${STAGING_DIR}/target/include/libetpan/mailpop3_socket.h
	install -m 0644 pop3/mailpop3_helper.h ${STAGING_DIR}/target/include/libetpan/mailpop3_helper.h
	install -m 0644 pop3/mailpop3_ssl.h ${STAGING_DIR}/target/include/libetpan/mailpop3_ssl.h
	install -m 0644 pop3/mailpop3_types.h ${STAGING_DIR}/target/include/libetpan/mailpop3_types.h
	install -m 0644 smtp/mailsmtp.h ${STAGING_DIR}/target/include/libetpan/mailsmtp.h
	install -m 0644 smtp/mailsmtp_helper.h ${STAGING_DIR}/target/include/libetpan/mailsmtp_helper.h
	install -m 0644 smtp/mailsmtp_socket.h ${STAGING_DIR}/target/include/libetpan/mailsmtp_socket.h
	install -m 0644 smtp/mailsmtp_ssl.h ${STAGING_DIR}/target/include/libetpan/mailsmtp_ssl.h
	install -m 0644 smtp/mailsmtp_types.h ${STAGING_DIR}/target/include/libetpan/mailsmtp_types.h
	install -m 0644 tools/mailstream.h ${STAGING_DIR}/target/include/libetpan/mailstream.h
	install -m 0644 tools/mailstream_helper.h ${STAGING_DIR}/target/include/libetpan/mailstream_helper.h
	install -m 0644 tools/mail.h ${STAGING_DIR}/target/include/libetpan/mail.h
	install -m 0644 tools/mmapstring.h ${STAGING_DIR}/target/include/libetpan/mmapstring.h
	install -m 0644 tools/mailstream_low.h ${STAGING_DIR}/target/include/libetpan/mailstream_low.h
	install -m 0644 tools/mailstream_socket.h ${STAGING_DIR}/target/include/libetpan/mailstream_socket.h
	install -m 0644 tools/mailstream_ssl.h ${STAGING_DIR}/target/include/libetpan/mailstream_ssl.h
	install -m 0644 tools/mailstream_types.h ${STAGING_DIR}/target/include/libetpan/mailstream_types.h
	install -m 0644 tools/carray.h ${STAGING_DIR}/target/include/libetpan/carray.h
	install -m 0644 tools/clist.h ${STAGING_DIR}/target/include/libetpan/clist.h
	install -m 0644 tools/chash.h ${STAGING_DIR}/target/include/libetpan/chash.h
	install -m 0644 tools/cinthash.h ${STAGING_DIR}/target/include/libetpan/cinthash.h
	install -m 0644 tools/charconv.h ${STAGING_DIR}/target/include/libetpan/charconv.h
	install -m 0644 tools/mail_cache_db_types.h ${STAGING_DIR}/target/include/libetpan/mail_cache_db_types.h
	install -m 0644 imf/mailimf.h ${STAGING_DIR}/target/include/libetpan/mailimf.h
	install -m 0644 imf/mailimf_types.h ${STAGING_DIR}/target/include/libetpan/mailimf_types.h
	install -m 0644 imf/mailimf_write.h ${STAGING_DIR}/target/include/libetpan/mailimf_write.h
	install -m 0644 imf/mailimf_types_helper.h ${STAGING_DIR}/target/include/libetpan/mailimf_types_helper.h
	install -m 0644 mbox/mailmbox.h ${STAGING_DIR}/target/include/libetpan/mailmbox.h
	install -m 0644 mbox/mailmbox_types.h ${STAGING_DIR}/target/include/libetpan/mailmbox_types.h
	install -m 0644 mh/mailmh.h ${STAGING_DIR}/target/include/libetpan/mailmh.h
	install -m 0644 maildir/maildir.h ${STAGING_DIR}/target/include/libetpan/maildir.h
	install -m 0644 maildir/maildir_types.h ${STAGING_DIR}/target/include/libetpan/maildir_types.h
	install -m 0644 mime/mailmime.h ${STAGING_DIR}/target/include/libetpan/mailmime.h
	install -m 0644 mime/mailmime_types.h ${STAGING_DIR}/target/include/libetpan/mailmime_types.h
	install -m 0644 mime/mailmime_content.h ${STAGING_DIR}/target/include/libetpan/mailmime_content.h
	install -m 0644 mime/mailmime_decode.h ${STAGING_DIR}/target/include/libetpan/mailmime_decode.h
	install -m 0644 mime/mailmime_disposition.h ${STAGING_DIR}/target/include/libetpan/mailmime_disposition.h
	install -m 0644 mime/mailmime_write.h ${STAGING_DIR}/target/include/libetpan/mailmime_write.h
	install -m 0644 mime/mailmime_types_helper.h ${STAGING_DIR}/target/include/libetpan/mailmime_types_helper.h
	install -m 0644 generic/libetpan_version.h ${STAGING_DIR}/target/include/libetpan/libetpan_version.h
	install -m 0644 generic/maildriver.h ${STAGING_DIR}/target/include/libetpan/maildriver.h
	install -m 0644 generic/maildriver_types.h ${STAGING_DIR}/target/include/libetpan/maildriver_types.h
	install -m 0644 generic/maildriver_types_helper.h ${STAGING_DIR}/target/include/libetpan/maildriver_types_helper.h
	install -m 0644 generic/imapdriver.h ${STAGING_DIR}/target/include/libetpan/imapdriver.h
	install -m 0644 generic/imapdriver_cached.h ${STAGING_DIR}/target/include/libetpan/imapdriver_cached.h
	install -m 0644 generic/imapdriver_message.h ${STAGING_DIR}/target/include/libetpan/imapdriver_message.h
	install -m 0644 generic/imapdriver_cached_message.h ${STAGING_DIR}/target/include/libetpan/imapdriver_cached_message.h
	install -m 0644 generic/imapstorage.h ${STAGING_DIR}/target/include/libetpan/imapstorage.h
	install -m 0644 generic/imapdriver_types.h ${STAGING_DIR}/target/include/libetpan/imapdriver_types.h
	install -m 0644 generic/generic_cache_types.h ${STAGING_DIR}/target/include/libetpan/generic_cache_types.h
	install -m 0644 generic/nntpdriver.h ${STAGING_DIR}/target/include/libetpan/nntpdriver.h
	install -m 0644 generic/nntpdriver_cached.h ${STAGING_DIR}/target/include/libetpan/nntpdriver_cached.h
	install -m 0644 generic/nntpdriver_tools.h ${STAGING_DIR}/target/include/libetpan/nntpdriver_tools.h
	install -m 0644 generic/nntpdriver_message.h ${STAGING_DIR}/target/include/libetpan/nntpdriver_message.h
	install -m 0644 generic/nntpdriver_cached_message.h ${STAGING_DIR}/target/include/libetpan/nntpdriver_cached_message.h
	install -m 0644 generic/nntpstorage.h ${STAGING_DIR}/target/include/libetpan/nntpstorage.h
	install -m 0644 generic/nntpdriver_types.h ${STAGING_DIR}/target/include/libetpan/nntpdriver_types.h
	install -m 0644 generic/pop3driver.h ${STAGING_DIR}/target/include/libetpan/pop3driver.h
	install -m 0644 generic/pop3driver_cached.h ${STAGING_DIR}/target/include/libetpan/pop3driver_cached.h
	install -m 0644 generic/pop3driver_message.h ${STAGING_DIR}/target/include/libetpan/pop3driver_message.h
	install -m 0644 generic/pop3driver_cached_message.h ${STAGING_DIR}/target/include/libetpan/pop3driver_cached_message.h
	install -m 0644 generic/pop3storage.h ${STAGING_DIR}/target/include/libetpan/pop3storage.h
	install -m 0644 generic/pop3driver_types.h ${STAGING_DIR}/target/include/libetpan/pop3driver_types.h
	install -m 0644 generic/mboxdriver.h ${STAGING_DIR}/target/include/libetpan/mboxdriver.h
	install -m 0644 generic/mboxdriver_cached.h ${STAGING_DIR}/target/include/libetpan/mboxdriver_cached.h
	install -m 0644 generic/mboxdriver_message.h ${STAGING_DIR}/target/include/libetpan/mboxdriver_message.h
	install -m 0644 generic/mboxdriver_cached_message.h ${STAGING_DIR}/target/include/libetpan/mboxdriver_cached_message.h
	install -m 0644 generic/mboxstorage.h ${STAGING_DIR}/target/include/libetpan/mboxstorage.h
	install -m 0644 generic/mboxdriver_types.h ${STAGING_DIR}/target/include/libetpan/mboxdriver_types.h
	install -m 0644 generic/mhdriver.h ${STAGING_DIR}/target/include/libetpan/mhdriver.h
	install -m 0644 generic/mhdriver_cached.h ${STAGING_DIR}/target/include/libetpan/mhdriver_cached.h
	install -m 0644 generic/mhdriver_message.h ${STAGING_DIR}/target/include/libetpan/mhdriver_message.h
	install -m 0644 generic/mhdriver_cached_message.h ${STAGING_DIR}/target/include/libetpan/mhdriver_cached_message.h
	install -m 0644 generic/mhstorage.h ${STAGING_DIR}/target/include/libetpan/mhstorage.h
	install -m 0644 generic/mhdriver_types.h ${STAGING_DIR}/target/include/libetpan/mhdriver_types.h
	install -m 0644 generic/maildirdriver.h ${STAGING_DIR}/target/include/libetpan/maildirdriver.h
	install -m 0644 generic/maildirdriver_message.h ${STAGING_DIR}/target/include/libetpan/maildirdriver_message.h
	install -m 0644 generic/maildirdriver_cached.h ${STAGING_DIR}/target/include/libetpan/maildirdriver_cached.h
	install -m 0644 generic/maildirdriver_cached_message.h ${STAGING_DIR}/target/include/libetpan/maildirdriver_cached_message.h
	install -m 0644 generic/maildirdriver_types.h ${STAGING_DIR}/target/include/libetpan/maildirdriver_types.h
	install -m 0644 generic/maildirstorage.h ${STAGING_DIR}/target/include/libetpan/maildirstorage.h
	install -m 0644 generic/data_message_driver.h ${STAGING_DIR}/target/include/libetpan/data_message_driver.h
	install -m 0644 generic/mime_message_driver.h ${STAGING_DIR}/target/include/libetpan/mime_message_driver.h
	install -m 0644 generic/mailthread.h ${STAGING_DIR}/target/include/libetpan/mailthread.h
	install -m 0644 generic/mailthread_types.h ${STAGING_DIR}/target/include/libetpan/mailthread_types.h
	install -m 0644 generic/mailmessage.h ${STAGING_DIR}/target/include/libetpan/mailmessage.h
	install -m 0644 generic/mailmessage_types.h ${STAGING_DIR}/target/include/libetpan/mailmessage_types.h
	install -m 0644 generic/generic_cache.h ${STAGING_DIR}/target/include/libetpan/generic_cache.h
	install -m 0644 generic/mailmessage_tools.h ${STAGING_DIR}/target/include/libetpan/mailmessage_tools.h
	install -m 0644 generic/maildriver_tools.h ${STAGING_DIR}/target/include/libetpan/maildriver_tools.h
	install -m 0644 generic/mailstorage.h ${STAGING_DIR}/target/include/libetpan/mailstorage.h
	install -m 0644 generic/mailstorage_types.h ${STAGING_DIR}/target/include/libetpan/mailstorage_types.h
	install -m 0644 generic/libetpan.h ${STAGING_DIR}/target/include/libetpan/libetpan.h
}