Merges.
[vuplus_openembedded] / slutils / slutils_0.1.0.oe
1 DESCRIPTION = "Console utilities for certain hardware aspects of the SL-C7x0 based Zaurii"
2 SECTION = "base"
3 PRIORITY = "optional"
4 MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
5 LICENSE = "GPL"
6 DEPENDS = "virtual/libc"
7
8 inherit qmake
9
10 export UTILS = "sltime"
11
12 do_fetch() {
13         for u in ${UTILS}
14         do
15                 install -d ${S}/$u
16                 cp -dfR `ls -dp ${FILESDIR}/$u/*|grep -v SCCS` ${S}/$u/
17         done
18 }
19
20 do_configure_prepend() {
21         cd ${S}/
22         echo -e "TEMPLATE=subdirs\nSUBDIRS=${UTILS}\n" >slutils.pro
23 }
24
25 do_install() {
26         install -d ${D}/${sbindir}/
27         for u in ${UTILS}
28         do
29                 install -m 0755 ${S}/${u}/${u} ${D}/${sbindir}/
30         done
31 }