Magellan Linux

Contents of /smage/trunk/core/mkinitrd/mkinitrd-6.1.12-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 128 - (show annotations) (download)
Thu Jan 7 17:33:10 2010 UTC (14 years, 3 months ago) by niro
File size: 1179 byte(s)
auto added: ver bump to 6.1.12-r1
1 # $Id$
2
3 PNAME="mkinitrd"
4 PVER="6.1.12"
5 PBUILD="r1"
6
7 PCATEGORIE="sys-apps"
8 STATE="unstable"
9
10 DESCRIPTION="Mkinitrd creates filesystem images for use as initial ramdisk (initrd) images."
11 HOMEPAGE="http://magellan-linux.de/"
12
13 DEPEND=">= sys-apps/gawk-3
14 >= sys-apps/module-init-tools-3.10
15 >= app-arch/cpio-2
16 >= sys-apps/v86d-0.1.9
17 >= dev-libs/popt-1.15
18 >= dev-libs/glib2-2.22
19 >= sys-apps/util-linux-2.16"
20
21 # nasm, netpbm are needed to rebuild syslinux
22 SDEPEND=">= virtual/kernel-sources
23 >= sys-apps/findutils-4
24 >= dev-lang/nasm-2"
25
26 SRCFILE="${PNAME}-${PVER}.tar.bz2"
27 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
28
29 sminclude mbuild
30
31 SRC_URI=( mirror://${PNAME}/${SRCFILE} )
32
33 src_prepare()
34 {
35 munpack ${SRCFILE} || die
36 cd ${SRCDIR}
37
38 # enable scsi,sata and pata checks for 2.6.29 as default
39 sed -i -e "s:^\(DOSCSI=\).*:\1yes:" \
40 -e "s:^\(DOSATA=\).*:\1yes:" \
41 -e "s:^\(DOPATA=\).*:\1yes:" \
42 livecd/linuxrc.sh || die
43 }
44
45 src_compile()
46 {
47 cd ${SRCDIR}
48
49 # fix version, we want ${PVER}-${PBUILD}
50 echo "${PVER}-${PBUILD}" > VERSION || die
51
52 # fix libdir on 64bit arches
53 sed -i "s:^\(LIBDIR =\).*:\1 /usr/$(mlibdir):" livecd/Makefile || die
54
55 mmake ARCH=${ARCH/i*86/i386} || die
56 }

Properties

Name Value
svn:keywords Id