blob: 20170880c4ad5c95fe0ba5525b461bf1d5486150 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gnap-dev/gnap-dev-1.7.1.ebuild,v 1.1 2005/06/23 13:20:16 koon Exp $
MY_P=${P/gnap-dev/gnap-sources}
S="${WORKDIR}/gnap-${PV}"
DESCRIPTION="Gentoo-based Network Appliance building system development tools"
HOMEPAGE="http://embedded.gentoo.org/gnap.xml"
SRC_URI="mirror://gentoo/${MY_P}.tar.bz2
!minimal? ( mirror://gentoo/gnap-stageseed-${PV}.tar.bz2 )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="minimal"
RDEPEND="dev-util/catalyst
sys-fs/squashfs-tools
app-cdr/cdrtools"
src_unpack() {
unpack ${MY_P}.tar.bz2
}
src_install() {
dobin gnap_make
doman gnap_make.1
dodir /usr/lib/gnap
insinto /usr/lib/gnap
doins -r specs
if ! use minimal; then
newins ${DISTDIR}/gnap-stageseed-${PV}.tar.bz2 gnap-stage3seed.tar.bz2
fi
}
|