# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/abs-guide/abs-guide-5.5.ebuild,v 1.2 2008/12/07 03:41:04 dirtyepic Exp $

KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"

DESCRIPTION="An advanced reference and a tutorial on bash shell scripting"
HOMEPAGE="http://www.tldp.org/LDP/abs/html"

MY_P=abs-${PV}_cn

# Upstream likes to repackage the tarball without changing the name.
SRC_URI="http://www.linuxsir.org/main/doc/abs/${MY_P}.tar.bz2"

LICENSE="OPL"
IUSE=""
SLOT="0"
RESTRICT="mirror"

DEPEND=""
RDEPEND=""

S="${WORKDIR}/${MY_P}"

src_install() {
	dodir /usr/share/doc/${P}       || die "dodir failed"
	cp -R * "${D}"/usr/share/doc/${P} || die "cp failed"
}