Another pass of .oe cleanups.
[vuplus_openembedded] / tinylogin / tinylogin_1.4.oe
1 DEPENDS = "virtual/libc"
2 RDEPENDS = "libc6"
3 DESCRIPTION = "TinyLogin is a suite of tiny UNIX \
4 utilities for handling logins, user authentication, \
5 changing passwords, and otherwise maintaining users \
6 and groups on an embedded system."
7
8 SRC_URI = "http://tinylogin.busybox.net/downloads/tinylogin-${PV}.tar.bz2"
9
10 EXTRA_OEMAKE = ""
11
12 do_compile () {
13         oe_runmake 'CC=${CC}' 'CROSS=${HOST_PREFIX}'
14 }
15
16 do_install () {
17         install -d ${D}/bin
18         install -m 4755 tinylogin ${D}/bin/tinylogin
19         for i in `cat tinylogin.links`; do
20                 mkdir -p ${D}/`dirname $i`
21                 ln -sf /bin/tinylogin ${D}/$i
22         done
23 }