Lines 9-14
VERSION_DMRAID='1.0.0.rc13'
Link Here
|
9 |
VERSION_E2FSPROGS='1.38' |
9 |
VERSION_E2FSPROGS='1.38' |
10 |
VERSION_LVM2='2.02.05' |
10 |
VERSION_LVM2='2.02.05' |
11 |
VERSION_PKG='3.4' |
11 |
VERSION_PKG='3.4' |
|
|
12 |
VERSION_SUSPEND='0.5' |
12 |
VERSION_UNIONFS='1.4' |
13 |
VERSION_UNIONFS='1.4' |
13 |
|
14 |
|
14 |
DESCRIPTION="Gentoo autokernel script" |
15 |
DESCRIPTION="Gentoo autokernel script" |
Lines 19-25
SRC_URI="http://dev.gentoo.org/~wolf31o2
Link Here
|
19 |
ftp://sources.redhat.com/pub/lvm2/old/LVM2.${VERSION_LVM2}.tgz |
20 |
ftp://sources.redhat.com/pub/lvm2/old/LVM2.${VERSION_LVM2}.tgz |
20 |
ftp://sources.redhat.com/pub/dm/old/device-mapper.${VERSION_DMAP}.tgz |
21 |
ftp://sources.redhat.com/pub/dm/old/device-mapper.${VERSION_DMAP}.tgz |
21 |
ftp://ftp.fsl.cs.sunysb.edu/pub/unionfs/unionfs-${VERSION_UNIONFS}.tar.gz |
22 |
ftp://ftp.fsl.cs.sunysb.edu/pub/unionfs/unionfs-${VERSION_UNIONFS}.tar.gz |
22 |
mirror://sourceforge/e2fsprogs/e2fsprogs-${VERSION_E2FSPROGS}.tar.gz" |
23 |
mirror://sourceforge/e2fsprogs/e2fsprogs-${VERSION_E2FSPROGS}.tar.gz |
|
|
24 |
mirror://sourceforge/suspend/suspend-${VERSION_SUSPEND}.tar.gz" |
23 |
|
25 |
|
24 |
LICENSE="GPL-2" |
26 |
LICENSE="GPL-2" |
25 |
SLOT="0" |
27 |
SLOT="0" |
Lines 34-39
src_unpack() {
Link Here
|
34 |
unpack ${P}.tar.bz2 |
36 |
unpack ${P}.tar.bz2 |
35 |
cd "${S}" |
37 |
cd "${S}" |
36 |
unpack ${PN}-pkg-${VERSION_PKG}.tar.bz2 |
38 |
unpack ${PN}-pkg-${VERSION_PKG}.tar.bz2 |
|
|
39 |
cp ${FILESDIR}/suspend-0.5-Makefile.patch pkg |
37 |
} |
40 |
} |
38 |
|
41 |
|
39 |
src_install() { |
42 |
src_install() { |
Lines 45-50
src_install() {
Link Here
|
45 |
-e "s:VERSION_E2FSPROGS:$VERSION_E2FSPROGS:" \ |
48 |
-e "s:VERSION_E2FSPROGS:$VERSION_E2FSPROGS:" \ |
46 |
-e "s:VERSION_LVM2:$VERSION_LVM2:" \ |
49 |
-e "s:VERSION_LVM2:$VERSION_LVM2:" \ |
47 |
-e "s:VERSION_UNIONFS:$VERSION_UNIONFS:" \ |
50 |
-e "s:VERSION_UNIONFS:$VERSION_UNIONFS:" \ |
|
|
51 |
-e "s:VERSION_SUSPEND:$VERSION_SUSPEND:" \ |
48 |
${D}/etc/genkernel.conf || die "Could not adjust versions" |
52 |
${D}/etc/genkernel.conf || die "Could not adjust versions" |
49 |
|
53 |
|
50 |
dodir /usr/share/genkernel |
54 |
dodir /usr/share/genkernel |
Lines 66-71
src_install() {
Link Here
|
66 |
"${DISTDIR}"/device-mapper.${VERSION_DMAP}.tgz \ |
70 |
"${DISTDIR}"/device-mapper.${VERSION_DMAP}.tgz \ |
67 |
"${DISTDIR}"/unionfs-${VERSION_UNIONFS}.tar.gz \ |
71 |
"${DISTDIR}"/unionfs-${VERSION_UNIONFS}.tar.gz \ |
68 |
"${DISTDIR}"/e2fsprogs-${VERSION_E2FSPROGS}.tar.gz \ |
72 |
"${DISTDIR}"/e2fsprogs-${VERSION_E2FSPROGS}.tar.gz \ |
|
|
73 |
"${DISTDIR}"/suspend-${VERSION_SUSPEND}.tar.gz \ |
69 |
${D}/usr/share/genkernel/pkg |
74 |
${D}/usr/share/genkernel/pkg |
70 |
} |
75 |
} |
71 |
|
76 |
|