Сравнение wmail-2.0-r5 с wmail-2.2
/usr/portage/x11-plugins/wmail/wmail-2.2.ebuild 2023-10-09 14:52:35.968368513 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2020 Gentoo Authors |
|
1 |
# Copyright 1999-2019 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
... | ... | |
16 | 16 |
RDEPEND=">=x11-libs/libdockapp-0.7:=" |
17 | 17 |
DEPEND="${RDEPEND}" |
18 | 18 | |
19 |
src_prepare() { |
|
20 |
default |
|
21 |
eapply "${FILESDIR}"/${P}.support-libdockapp-0.5.0.patch |
|
22 | ||
23 |
# make from parsing in maildir format faster, thanks |
|
24 |
# to Stanislav Kuchar |
|
25 |
eapply "${FILESDIR}"/${P}.maildir-parse-from.patch |
|
26 | ||
27 |
# fix LDFLAGS ordering, see bug #248620 |
|
28 |
sed -i 's/$(LIBS) -o $@ $^/-o $@ $^ $(LIBS)/' "${S}/src/Makefile.in" || die |
|
29 | ||
30 |
# Honour Gentoo LDFLAGS, see bug #337407 |
|
31 |
sed -i 's/-o $@ $^ $(LIBS)/$(LDFLAGS) -o $@ $^ $(LIBS)/' "${S}/src/Makefile.in" || die |
|
32 |
sed -e 's#<dockapp.h>#<libdockapp/dockapp.h>#' -i src/*.c || die |
|
33 |
} |
|
19 |
DOCS=( ChangeLog README wmailrc-sample) |
|
34 | 20 | |
35 | 21 |
src_configure() { |
36 | 22 |
econf --enable-delt-xpms |
37 | 23 |
} |
38 | ||
39 |
src_compile() { |
|
40 |
emake CC="$(tc-getCC)" |
|
41 |
} |
|
42 | ||
43 |
src_install() { |
|
44 |
dobin src/wmail |
|
45 |
dodoc README wmailrc-sample |
|
46 |
} |