blob: 4c608547b3c715b4d8124af28965381076e2740c (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/liblockfile/liblockfile-1.03-r2.ebuild,v 1.3 2005/04/01 15:29:15 agriffis Exp $
IUSE=
inherit eutils gcc multilib
DESCRIPTION="Implements functions designed to lock the standard mailboxes."
SRC_URI="mirror://debian/pool/main/libl/${PN}/${PN}_${PV}.tar.gz"
HOMEPAGE="http://www.debian.org"
DEPEND="virtual/libc"
SLOT="0"
LICENSE="LGPL-2"
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ia64 amd64 ~mips ~ppc64"
IUSE=""
src_unpack() {
unpack ${A}
if [ "`gcc-major-version`" -gt 3 ] || \
[ "`gcc-major-version`" -eq 3 -a "`gcc-minor-version`" -ge 3 ]
then
cd ${S}; epatch ${FILESDIR}/${P}-gcc33.patch
fi
}
src_compile() {
econf --with-mailgroup=mail --enable-shared || die
emake || die
}
src_install() {
dodir /usr/{bin,include,$(get_libdir)} /usr/share/man/{man1,man3}
make ROOT=${D} install || die
}
|