blob: 02a74d9c70e8b22c19a3f6aeaa13c847ddbb122a (
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
56
57
|
# 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.20040621.ebuild,v 1.1 2005/03/14 20:00:20 ciaranm 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
doins ${S}/busybox/*.patch
doins ${S}/util-linux/*.patch
dodoc CHANGELOG README*
}
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 required patches are installed in /usr/share/gcloop ."
einfo "ppc-development-sources and gentoo-dev-sources are"
einfo "already patched."
}
|