Search:  
Gentoo Wiki

Ucpt:Sec-policy/selinux-doc/selinux-doc-1.20.ebuild

#

Image:Ebuild_file.png Sec-policy/selinux-doc/selinux-doc-1.20.ebuild

Download - Bugs - Discussion - History

Back to the Index
inherit eutils

DESCRIPTION="SELinux Docs"
SRC_URI="http://www.nsa.gov/selinux/archives/selinux-doc-1.20.tgz"
HOMEPAGE="http://www.nsa.gov/selinux/"

SLOT=""
LICENSE="Public Use"
KEYWORDS="x86 sparc ppc"
IUSE=""

DEPEND="app-text/docbook-sgml-dtd"

src_unpack() {
	cd ${WORKDIR}
	tar xzf ${DISTDIR}/${A}
	find . -name Makefile | while read F; do
		cat "$F" | sed 's/db2html/docbook2html/g' > "$F.new"
		rm -f "$F"
		mv "$F.new" "$F"
	done
}

src_install() {
	for F in uavc policy module; do
		mv $F/main.ps $F.ps
		mv $F/main.pdf $F.pdf
		dodoc $F.ps $F.pdf
	done
	dodoc README* LICENSE CREDITS ChangeLog
}
 #
Retrieved from "http://www.gentoo-wiki.info/Ucpt:Sec-policy/selinux-doc/selinux-doc-1.20.ebuild"

Last modified: Tue, 09 Aug 2005 09:05:00 +0000 Hits: 2,114