diff options
Diffstat (limited to 'slutils/slutils_0.1.0.oe')
-rw-r--r-- | slutils/slutils_0.1.0.oe | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/slutils/slutils_0.1.0.oe b/slutils/slutils_0.1.0.oe index e69de29bb2..063bab32a7 100644 --- a/slutils/slutils_0.1.0.oe +++ b/slutils/slutils_0.1.0.oe @@ -0,0 +1,32 @@ +DESCRIPTION=Console utilities for certain hardware aspects of the SL-C7x0 based Zaurii +SECTION=base +PRIORITY=optional +MAINTAINER="Michael Lauer <mickey@Vanille.de>" +LICENSE=GPL +RDEPENDS=libc6 +DEPENDS=virtual/libc + +inherit qmake + +export UTILS=sltime + +do_fetch() { + for u in ${UTILS} + do + install -d ${S}/${u} + cp -dfR `ls -dp ${FILESDIR}/$u/*|grep -v SCCS` ${S}/$u/ + done +} + +do_configure_prepend() { + cd ${S}/ + echo -e "TEMPLATE=subdirs\nSUBDIRS=${UTILS}\n" >slutils.pro +} + +do_install() { + install -d ${D}/${sbindir}/ + for u in ${UTILS} + do + install -m 0755 ${S}/${u}/${u} ${D}/${sbindir}/ + done +} |