blob: 8263a3fb6949bd19ca4f8d3626c9a857b46dfab4 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/libpst/libpst-0.3.4.ebuild,v 1.3 2004/06/24 23:23:59 agriffis Exp $
DESCRIPTION="Tools and library for reading Outlook files (.pst format)"
HOMEPAGE="http://sourceforge.net/projects/ol2mbox"
MY_PN="libpst"
MYFILE="${MY_PN}_${PV}.tgz"
SRC_URI="mirror://sourceforge/ol2mbox/${MYFILE}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND=">=sys-apps/sed-4"
S="${WORKDIR}/${MY_PN}_${PV}"
src_unpack() {
unpack ${A}
cd ${S}
sed -i -e 's/-g/$(CFLAGS)/' Makefile
}
src_compile() {
emake || die
}
src_install() {
exeinto /usr/bin
doexe getidblock readpst
dodoc README* AUTHORS FILE-FORMAT*
insinto /usr/include
doins libpst.h
insinto /usr/lib
doins libpst.o
}
|