summaryrefslogtreecommitdiff
path: root/slutils/slutils_0.1.0.oe
blob: 6d97c29c7027ffa256e2cbb498a53854aa21d3d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
DESCRIPTION = "Console utilities for certain hardware aspects of the SL-C7x0 based Zaurii"
SECTION = "base"
PRIORITY = "optional"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
LICENSE = "GPL"

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
}