Annotation of /smage/trunk/core/mkinitrd/mkinitrd-6.3.2-r1.smage2
Parent Directory | Revision Log
Revision 740 -
(hide annotations)
(download)
Thu Oct 21 16:47:12 2010 UTC (13 years, 7 months ago) by niro
File size: 1405 byte(s)
Thu Oct 21 16:47:12 2010 UTC (13 years, 7 months ago) by niro
File size: 1405 byte(s)
auto added: ver bump to 6.3.2-r1
1 | niro | 740 | # $Id: mkinitrd-6.2.3-r1.smage2 5422 2010-05-31 20:56:46Z niro $ |
2 | |||
3 | PNAME="mkinitrd" | ||
4 | PVER="6.3.2" | ||
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/which-2.20 | ||
15 | >= sys-apps/debianutils-2 | ||
16 | >= sys-apps/module-init-tools-3.12 | ||
17 | >= app-arch/cpio-2 | ||
18 | >= sys-fs/e2fsprogs-1.41 | ||
19 | >= sys-apps/v86d-0.1.9 | ||
20 | >= dev-libs/popt-1.16 | ||
21 | >= dev-libs/glib2-2.24 | ||
22 | >= sys-apps/util-linux-2.18" | ||
23 | |||
24 | # nasm is needed to rebuild syslinux | ||
25 | SDEPEND=">= virtual/kernel-sources | ||
26 | >= sys-apps/findutils-4 | ||
27 | >= sys-apps/sed-4 | ||
28 | >= dev-lang/nasm-2" | ||
29 | |||
30 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
31 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
32 | |||
33 | sminclude mbuild | ||
34 | |||
35 | SRC_URI=( mirror://${PNAME}/${SRCFILE} ) | ||
36 | |||
37 | src_prepare() | ||
38 | { | ||
39 | munpack ${SRCFILE} || die | ||
40 | cd ${SRCDIR} | ||
41 | |||
42 | # enable scsi,sata and pata checks for 2.6.29 as default | ||
43 | sed -i -e "s:^\(DOSCSI=\).*:\1yes:" \ | ||
44 | -e "s:^\(DOSATA=\).*:\1yes:" \ | ||
45 | -e "s:^\(DOPATA=\).*:\1yes:" \ | ||
46 | livecd/linuxrc.sh || die | ||
47 | |||
48 | # fix version, we want ${PVER}-${PBUILD} | ||
49 | echo "${PVER}-${PBUILD}" > VERSION || die | ||
50 | |||
51 | # fix libdir on 64bit arches | ||
52 | sed -i "s:^\(LIBDIR =\).*:\1 /usr/$(mlibdir):" livecd/Makefile || die | ||
53 | sed -i "s:^\(LIBDIR.*=\).*:\1 /usr/$(mlibdir)/mkinitrd:" isolinux/Makefile || die | ||
54 | } | ||
55 | |||
56 | src_compile() | ||
57 | { | ||
58 | cd ${SRCDIR} | ||
59 | mmake ARCH=${ARCH/i*86/i386} || die | ||
60 | } |