24a79aacad590606621e8cadf344e9fd3d2d7f94
[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 RDEPENDS = "libc6"
7 DEPENDS = "virtual/libc"
8
9 inherit qmake
10
11 export UTILS = "sltime"
12
13 do_fetch() {
14         for u in ${UTILS}
15         do
16                 install -d ${S}/${u}
17                 cp -dfR `ls -dp ${FILESDIR}/$u/*|grep -v SCCS` ${S}/$u/
18         done
19 }
20
21 do_configure_prepend() {
22         cd ${S}/
23         echo -e "TEMPLATE=subdirs\nSUBDIRS=${UTILS}\n" >slutils.pro
24 }
25
26 do_install() {
27         install -d ${D}/${sbindir}/
28         for u in ${UTILS}
29         do
30                 install -m 0755 ${S}/${u}/${u} ${D}/${sbindir}/
31         done
32 }