Magellan Linux

Contents of /trunk/core/grubby/grubby-8.8_20120218-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11181 - (show annotations) (download)
Sat Feb 18 11:08:56 2012 UTC (12 years, 4 months ago) by niro
File size: 844 byte(s)
-added a patch to fix an infinit loop with new-kernel-pkg and mkinitrd
1 # $Id$
2
3 PNAME="grubby"
4 PVER="8.8_20120218"
5 PBUILD="r2"
6
7 PCAT="sys-apps"
8
9 DESCRIPTION="Command line tool for updating bootloader configs."
10 HOMEPAGE="http://magellan-linux.de"
11 # forked from http://git.fedorahosted.org/git/grubby.git
12
13 DEPEND=">= dev-libs/popt-1.16
14 >= sys-apps/util-linux-2.19
15 >= sys-fs/e2fsprogs-1.41"
16
17 SDEPEND=">= dev-util/pkgconfig-0.25"
18
19 SRCFILE="${PNAME}-${PVER/_2/.2}.tar.bz2"
20 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_2/.2}"
21
22 sminclude mbuild
23 msetfeature "!check"
24
25 # not using fedora upstream, got our own fork!
26 SRC_URI=(
27 mirror://${PNAME}/${SRCFILE}
28 mirror://${PNAME}/${PNAME}-0.8.8-new-kernel-pkg-infinite-loop.patch
29 )
30
31 # fake
32 UP2DATE="echo ${PVER}"
33
34 src_prepare()
35 {
36 munpack ${SRCFILE} || die
37 cd ${SRCDIR}
38
39 mpatch ${PNAME}-0.8.8-new-kernel-pkg-infinite-loop.patch || die
40 }
41
42 src_compile()
43 {
44 cd ${SRCDIR}
45 mmake || die
46 }