summaryrefslogtreecommitdiff
blob: cd23c94687f1efb7cb58c705a22d0a9b41391dd3 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libspt/libspt-1.1-r2.ebuild,v 1.1 2009/09/14 15:24:38 matsuu Exp $

EAPI="2"
inherit base

DESCRIPTION="Library for handling root privilege"
HOMEPAGE="http://www.j10n.org/libspt/index.html"
SRC_URI="http://www.j10n.org/libspt/${P}.tar.bz2"

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~x86"
IUSE=""

RESTRICT="test"

src_prepare() {
	epatch \
		"${FILESDIR}/libspt-werror.patch" \
		"${FILESDIR}/${P}-gentoo.patch"
}

src_install() {
	emake DESTDIR="${D}" install || die

	dodoc CHANGES
}