diff options
Diffstat (limited to 'dev-embedded/gnap/gnap-2.0.ebuild')
-rw-r--r-- | dev-embedded/gnap/gnap-2.0.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-embedded/gnap/gnap-2.0.ebuild b/dev-embedded/gnap/gnap-2.0.ebuild new file mode 100644 index 000000000000..a214fb60cf6a --- /dev/null +++ b/dev-embedded/gnap/gnap-2.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +MY_P="${P/gnap/gnap-tools}" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="Gentoo-based Network Appliance building system" +HOMEPAGE="http://embedded.gentoo.org/gnap.xml" + +SRC_URI="mirror://gentoo/${MY_P}.tar.bz2 + !minimal? ( mirror://gentoo/${PN}-core-${PV}.tar )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="minimal" + +RDEPEND="app-cdr/cdrtools + sys-fs/dosfstools + <sys-boot/syslinux-5" + +src_unpack() { + unpack ${MY_P}.tar.bz2 +} + +src_install() { + dobin gnap_overlay + doman gnap_overlay.1 + + dodoc README.upgrading + + dodir /usr/lib/gnap + insinto /usr/lib/gnap + if ! use minimal; then + newins "${DISTDIR}"/${PN}-core-${PV}.tar ${PN}-core.tar + doins -r mbr + doins -r examples + fi +} |