2010-06-28 09:46:54 +02:00
|
|
|
# Copyright 1999-2009 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
inherit eutils
|
|
|
|
|
|
|
|
DESCRIPTTON="A small implementation of AVL trees"
|
|
|
|
HOMEPAGE="http://ftp.debian.org/debian/pool/main/liba/libavl"
|
2010-09-28 17:12:10 +02:00
|
|
|
SRC_URI="http://ftp.debian.org/debian/pool/main/liba/libavl/${PN}_${PV}.orig.tar.gz"
|
2010-06-28 09:46:54 +02:00
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~x86 ~amd64"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND="net-misc/curl"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
|
|
|
RESTRICT="mirror"
|
|
|
|
S=${WORKDIR}/avl-${PV}
|
|
|
|
|
2010-09-28 17:12:10 +02:00
|
|
|
|
|
|
|
src_unpack() {
|
|
|
|
unpack ${A}
|
|
|
|
cd "${S}"
|
|
|
|
epatch "${FILESDIR}"/${PN}_${PV}-3.diff.gz
|
|
|
|
}
|
|
|
|
|
2010-06-28 09:46:54 +02:00
|
|
|
src_compile() {
|
|
|
|
cd ${S}
|
|
|
|
emake
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
emake DESTDIR="${D}" install || die "Install failed"
|
|
|
|
dodoc README || die
|
|
|
|
}
|
|
|
|
|