34 lines
810 B
Bash
34 lines
810 B
Bash
|
# Copyright 1999-2007 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
# $Header: $
|
||
|
|
||
|
inherit eutils rpm
|
||
|
MY_P="${PN}-0.22-2.noarch"
|
||
|
DESCRIPTION="Andrew McMillan's web libraries"
|
||
|
HOMEPAGE="http://rscds.sourceforge.net/
|
||
|
http://bugs.gentoo.org/show_bug.cgi?id=195118"
|
||
|
SRC_URI="http://downloads.sourceforge.net/rscds/${MY_P}.rpm"
|
||
|
SLOT=1
|
||
|
|
||
|
LICENSE="GPL-1"
|
||
|
KEYWORDS="-* ~x86 ~amd64"
|
||
|
IUSE=""
|
||
|
|
||
|
DEPEND="app-arch/rpm2targz"
|
||
|
RDEPEND="${DEPEND}"
|
||
|
|
||
|
S="${WORKDIR}"
|
||
|
|
||
|
src_unpack() {
|
||
|
rpm_src_unpack
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
cd "${S}/usr/share/doc/${PN}"
|
||
|
local docs="README.Debian changelog copyright"
|
||
|
dodoc ${docs} || die "dodoc failed"
|
||
|
dohtml -r "${S}/usr/share/doc/${PN}/api/" || die "dohtml failed"
|
||
|
cp -pPR "${S}/usr/share/awl/" "${D}/usr/share/" || die "failed \
|
||
|
to copy awl"
|
||
|
}
|