# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $


DESCRIPTION="Grammar files for polygen"
HOMEPAGE="http://www.polygen.org"
SRC_URI="http://www.polygen.org/gs/dist/polygen-1.0.6-20051011-grm.zip"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="app-arch/unzip"

S="${WORKDIR}/polygen-1.0.6"


src_unpack() {
	unpack ${A}
}

src_compile() {
        einfo "Only grammar files nothing to compile..."
}

src_install() {

	dodir  "/usr/share/polygen-1.0.6/grm"  || die "Can't create directory!!"
	cp -r grm  "${D}/usr/share/polygen-1.0.6/" || die "Can't copy files!!"
}