Revert "autoconf.inc: Use 'which' to find m4"
[openembedded.git] / recipes / aufs / aufs2-util_git.bb
blob276953571c543308447a37504d659d81986b986b
1 DESCRIPTION = "userspace utils for aufs2"
2 LICENSE = "GPL"
3 DEPENDS = "virtual/kernel"
4 PR = "r1"
6 PACKAGE_ARCH = "${MACHINE_ARCH}"
8 SRCREV = "f35ba2292fe40aa94aa83713e0b2719f35a25768"
9 SRC_URI = "git://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git;protocol=http"
11 S = "${WORKDIR}/git"
13 EXTRA_OEMAKE = "KDIR=${STAGING_KERNEL_DIR} DESTDIR=${D}"
15 do_compile () {
16 # c2tmac and c2sh need to be BUILD-arch
17 ${BUILD_CC} -I${STAGING_KERNEL_DIR}/include c2tmac.c -o c2tmac
18 ${BUILD_CC} -I${STAGING_KERNEL_DIR}/include c2sh.c -o c2sh
19 oe_runmake
22 do_install () {
23 install -d ${D}/${base_sbindir}
24 install -m 0755 mount.aufs umount.aufs auplink ${D}/${base_sbindir}
25 install -d ${D}/${base_bindir}
26 install -m 0755 auchk aubrsync ${D}/${base_bindir}
27 install -d ${D}/${sysconfdir}/default
28 install -m 0644 -T etc_default_aufs ${D}/${sysconfdir}/default/aufs