1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils toolchain-funcs
9 MYFILE="${MY_PN}_${PV}.tgz"
11 DESCRIPTION="Tools and library for reading Outlook Express mailboxes (.dbx format)"
12 HOMEPAGE="https://sourceforge.net/projects/ol2mbox"
13 SRC_URI="mirror://sourceforge/ol2mbox/${MYFILE}"
20 S="${WORKDIR}/${MY_PN}_${PV}"
23 epatch "${FILESDIR}/bad_c.patch"
24 sed -i -e 's/-g/$(CFLAGS) $(LDFLAGS)/;s|gcc|$(CC)|g' Makefile || die
30 dodoc README* AUTHORS FILE-FORMAT