summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Carrez <koon@gentoo.org>2005-05-31 11:29:41 +0000
committerThierry Carrez <koon@gentoo.org>2005-05-31 11:29:41 +0000
commit035a76c265f514e667d9e04b354ccc2a12614412 (patch)
tree23fd5392f9fcf860dcfab77ed0a6519e415cb8ae /dev-embedded/gnap-ext/gnap-ext-1.7.ebuild
parentBump to version 1.7 (diff)
downloadgentoo-2-035a76c265f514e667d9e04b354ccc2a12614412.tar.gz
gentoo-2-035a76c265f514e667d9e04b354ccc2a12614412.tar.bz2
gentoo-2-035a76c265f514e667d9e04b354ccc2a12614412.zip
Initial version
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-embedded/gnap-ext/gnap-ext-1.7.ebuild')
-rw-r--r--dev-embedded/gnap-ext/gnap-ext-1.7.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-embedded/gnap-ext/gnap-ext-1.7.ebuild b/dev-embedded/gnap-ext/gnap-ext-1.7.ebuild
new file mode 100644
index 000000000000..f01892ca7556
--- /dev/null
+++ b/dev-embedded/gnap-ext/gnap-ext-1.7.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gnap-ext/gnap-ext-1.7.ebuild,v 1.1 2005/05/31 11:29:41 koon Exp $
+
+MY_P="${P/gnap-ext/gnap-tools}"
+S="${WORKDIR}/${MY_P}"
+DESCRIPTION="Gentoo-based Network Appliance extensions and remastering tool"
+HOMEPAGE="http://embedded.gentoo.org/gnap.xml"
+
+SRC_URI="mirror://gentoo/${MY_P}.tar.bz2
+ !minimal? ( mirror://gentoo/gnap-basefs-${PV}.tar.bz2
+ mirror://gentoo/gnap-extensions-${PV}.tar )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="minimal"
+
+RDEPEND="sys-fs/squashfs-tools"
+
+src_unpack() {
+ unpack ${MY_P}.tar.bz2
+ unpack gnap-extensions-${PV}.tar
+}
+
+src_install() {
+ dobin gnap_remaster
+ doman gnap_remaster.1
+
+ dodir /usr/lib/gnap
+ insinto /usr/lib/gnap
+ if ! use minimal; then
+ newins ${DISTDIR}/gnap-basefs-${PV}.tar.bz2 gnap-basefs.tar.bz2
+ fi
+ dodir /usr/lib/gnap/extensions
+ insinto /usr/lib/gnap/extensions
+ doins ${WORKDIR}/gnapext_*.tbz2
+}