gentoo-overlay/app-doc/phrack/phrack-20.ebuild

23 lines
694 B
Bash
Raw Normal View History

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/phrack/phrack-20.ebuild,v 1.15 2010/10/19 08:03:21 leio Exp $
MY_P=${PN}${PV}
DESCRIPTION="...a Hacker magazine by the community, for the community...."
HOMEPAGE="http://www.phrack.org/"
SRC_URI="http://www.phrack.org/archives/tgz/${MY_P}.tar.gz"
LICENSE="phrack"
SLOT="${PV}"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
S=${WORKDIR}/${MY_P}
src_install() {
[[ -d ${S} ]] || cd "${WORKDIR}"/*
insinto /usr/share/doc/${PN}
doins * || die "doins failed"
prepalldocs
}