summaryrefslogtreecommitdiff
path: root/murasaki/murasaki_0.7.10.oe
blob: 763078fe4aba572dadfdfea442e9388b5e311dad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DEPENDS = "virtual/libc"
RDEPENDS = "libc6"

SRC_URI = http://www.dotaster.com/~shuu/linux/murasaki/0.7/10/murasaki-${PV}.tar.gz \
	  file://${FILESDIR}/install.patch;patch=1
EXTRA_OEMAKE = -e

do_compile () {
	unset CFLAGS
	oe_runmake 'OPT=' 'DEBUG=' 'INC=-I ../inc ${CFLAGS}'
}

do_install () {
	install -d ${D}/sbin ${D}/etc/${PN} \
		   ${D}/${sysconfdir}/init.d
	oe_runmake 'BIN_DIR=${D}/sbin' 'CONF_DIR=${D}/etc/${PN}' \
		   'RC_DIR=${D}/${sysconfdir}/rc.d' \
		   'RC_INIT_DIR=${D}/${sysconfdir}/init.d' \
		   install
}