diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-11 13:38:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-11 13:38:21 +0100 |
commit | 59970d0b9cd0a564851f255aebb29a9f76e39c19 (patch) | |
tree | 4ed6fa53e3016b6085c92a07d51765f4d8bfbe09 /net-mail/libdbx/libdbx-1.0.3-r1.ebuild | |
parent | 81db58116c7a9c27f54243a4d8f364c7e94c6f36 (diff) |
gentoo auto-resync : 11:10:2022 - 13:38:21
Diffstat (limited to 'net-mail/libdbx/libdbx-1.0.3-r1.ebuild')
-rw-r--r-- | net-mail/libdbx/libdbx-1.0.3-r1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/net-mail/libdbx/libdbx-1.0.3-r1.ebuild b/net-mail/libdbx/libdbx-1.0.3-r1.ebuild new file mode 100644 index 000000000000..5865178f0b22 --- /dev/null +++ b/net-mail/libdbx/libdbx-1.0.3-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +MY_PN="libdbx" +MYFILE="${MY_PN}_${PV}.tgz" + +DESCRIPTION="Tools and library for reading Outlook Express mailboxes (.dbx format)" +HOMEPAGE="https://sourceforge.net/projects/ol2mbox" +SRC_URI="mirror://sourceforge/ol2mbox/${MYFILE}" +S="${WORKDIR}/${MY_PN}_${PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 x86" + +PATCHES=( + "${FILESDIR}"/bad_c.patch + "${FILESDIR}"/${P}-missing-include.patch +) + +src_prepare() { + default + + sed -i -e 's/-g/$(CFLAGS) $(LDFLAGS)/;s|gcc|$(CC)|g' Makefile || die + tc-export CC +} + +src_install() { + dobin readoe readdbx + dodoc README* AUTHORS FILE-FORMAT +} |