Contents of /smage/trunk/core/mkinitrd/mkinitrd-6.1.5-r1.smage2
Parent Directory | Revision Log
Revision 1178 -
(show annotations)
(download)
Wed Aug 5 17:56:01 2009 UTC (15 years, 1 month ago) by niro
File size: 1245 byte(s)
Wed Aug 5 17:56:01 2009 UTC (15 years, 1 month ago) by niro
File size: 1245 byte(s)
auto added: ver bump to 6.1.5-r1
1 | # $Id$ |
2 | |
3 | PNAME="mkinitrd" |
4 | PVER="6.1.5" |
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.16 |
15 | >= sys-apps/debianutils-2 |
16 | >= sys-apps/module-init-tools-3 |
17 | >= sys-apps/kudzu-1.2 |
18 | >= app-arch/cpio-2 |
19 | >= sys-fs/e2fsprogs-1.38 |
20 | >= sys-apps/v86d-0.1.3" |
21 | |
22 | # nasm, netpbm are needed to rebuild syslinux |
23 | SDEPEND=">= dev-libs/popt-1.10 |
24 | >= virtual/kernel-sources |
25 | >= sys-apps/findutils-4 |
26 | >= sys-apps/sed-4 |
27 | >= dev-lang/nasm-2" |
28 | |
29 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
30 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
31 | |
32 | sminclude mbuild alx |
33 | |
34 | SRC_URI=( mirror://${PNAME}/${SRCFILE} ) |
35 | |
36 | src_prepare() |
37 | { |
38 | munpack ${SRCFILE} || die |
39 | cd ${SRCDIR} |
40 | |
41 | # enable scsi,sata and pata checks for 2.6.29 as default |
42 | sed -i -e "s:^\(DOSCSI=\).*:\1yes:" \ |
43 | -e "s:^\(DOSATA=\).*:\1yes:" \ |
44 | -e "s:^\(DOPATA=\).*:\1yes:" \ |
45 | livecd/linuxrc.sh || die |
46 | } |
47 | |
48 | src_compile() |
49 | { |
50 | cd ${SRCDIR} |
51 | |
52 | # fix version, we want ${PVER}-${PBUILD} |
53 | echo "${PVER}-${PBUILD}" > VERSION || die |
54 | |
55 | # fix libdir on 64bit arches |
56 | sed -i "s:^\(LIBDIR =\).*:\1 /usr/$(mlibdir):" livecd/Makefile || die |
57 | |
58 | mmake ARCH=${ARCH/i*86/i386} || die |
59 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |