Annotation of /smage/trunk/core/mkinitrd/mkinitrd-6.1.12-r1.smage2
Parent Directory | Revision Log
Revision 144 -
(hide annotations)
(download)
Sun Jan 10 15:24:25 2010 UTC (14 years, 4 months ago) by niro
File size: 1267 byte(s)
Sun Jan 10 15:24:25 2010 UTC (14 years, 4 months ago) by niro
File size: 1267 byte(s)
-mcore-split
1 | niro | 128 | # $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 | niro | 144 | MCORE_ONLY_KEEP="sbin usr/sbin usr/$(mlibdir)/mkinitrd etc/conf.d/mkinitrd" |
30 | sminclude mbuild mcore-split | ||
31 | niro | 128 | |
32 | SRC_URI=( mirror://${PNAME}/${SRCFILE} ) | ||
33 | |||
34 | src_prepare() | ||
35 | { | ||
36 | munpack ${SRCFILE} || die | ||
37 | cd ${SRCDIR} | ||
38 | |||
39 | # enable scsi,sata and pata checks for 2.6.29 as default | ||
40 | sed -i -e "s:^\(DOSCSI=\).*:\1yes:" \ | ||
41 | -e "s:^\(DOSATA=\).*:\1yes:" \ | ||
42 | -e "s:^\(DOPATA=\).*:\1yes:" \ | ||
43 | livecd/linuxrc.sh || die | ||
44 | } | ||
45 | |||
46 | src_compile() | ||
47 | { | ||
48 | cd ${SRCDIR} | ||
49 | |||
50 | # fix version, we want ${PVER}-${PBUILD} | ||
51 | echo "${PVER}-${PBUILD}" > VERSION || die | ||
52 | |||
53 | # fix libdir on 64bit arches | ||
54 | sed -i "s:^\(LIBDIR =\).*:\1 /usr/$(mlibdir):" livecd/Makefile || die | ||
55 | |||
56 | mmake ARCH=${ARCH/i*86/i386} || die | ||
57 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |