blob: fd76f7bd6af945c7b77a2b43b675d4ae2128bcb0 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-block/gcloop/gcloop-0.99.20040118.ebuild,v 1.2 2005/07/09 19:45:53 swegener Exp $
DESCRIPTION="Compressed loopback userspace tools and kernel patches"
HOMEPAGE="http://www.gentoo.org/proj/en/releng/gcloop"
SRC_URI="http://dev.gentoo.org/~lu_zero/gcloop/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ppc64 ~hppa ~ppc ~sparc ~x86"
IUSE=""
DEPEND="dev-libs/ucl"
S=${WORKDIR}/${PN}-0.99
src_compile() {
make || die
}
src_install() {
exeinto /usr/bin
dobin compress_gcloop_ucl
dobin compressloop_ucl
dobin create_compressed_ucl_fs
dobin create_gcloop_ucl
dobin extract_compressed_ucl_fs
dobin extract_gcloop_ucl
doman ${S}/man/*.1
dodir /usr/share/gcloop
insinto /usr/share/gcloop
doins ${S}/*.patch
dodoc CHANGELOG README README.kernel
}
pkg_postinst() {
ewarn "This is a gcloop prerelease, userspace tool may change."
ewarn "Please report any bug to lu_zero@gentoo.org via e-mail"
ewarn "or bugzilla."
ewarn "REMEBER this is a PRERELEASE"
echo
einfo "the kernel patches are installed in /usr/share/gcloop ."
einfo "ppc-development-sources and gentoo-dev-sources are"
einfo "already patched."
}
|