2005-08-31 10:45:47 +00:00
|
|
|
SECTION = "base"
|
2010-09-27 14:44:05 +00:00
|
|
|
SUMMARY = "Tiny versions of many common login, authentication and related utilities."
|
2005-08-31 10:45:47 +00:00
|
|
|
DESCRIPTION = "TinyLogin is a suite of tiny UNIX \
|
|
|
|
utilities for handling logins, user authentication, \
|
|
|
|
changing passwords, and otherwise maintaining users \
|
|
|
|
and groups on an embedded system."
|
|
|
|
HOMEPAGE = "http://tinylogin.busybox.net/"
|
2010-11-26 09:19:13 +00:00
|
|
|
LICENSE = "GPLv2"
|
|
|
|
LIC_FILES_CHKSUM="file://LICENSE;md5=f1060fa3a366f098b5b1d8c2077ba269"
|
2010-09-16 05:51:09 +00:00
|
|
|
PR = "r5"
|
2005-08-31 10:45:47 +00:00
|
|
|
|
|
|
|
SRC_URI = "http://tinylogin.busybox.net/downloads/tinylogin-${PV}.tar.bz2 \
|
|
|
|
file://cvs-20040608.patch;patch=1;pnum=1 \
|
|
|
|
file://add-system.patch;patch=1;pnum=1 \
|
2008-01-18 14:43:25 +00:00
|
|
|
file://adduser-empty_pwd.patch;patch=1 \
|
2010-09-16 05:51:09 +00:00
|
|
|
file://remove-index.patch;patch=1 \
|
|
|
|
file://use_O2_option.patch"
|
2005-08-31 10:45:47 +00:00
|
|
|
|
|
|
|
EXTRA_OEMAKE = ""
|
|
|
|
|
|
|
|
do_compile () {
|
|
|
|
oe_runmake 'CC=${CC}' 'CROSS=${HOST_PREFIX}'
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install () {
|
|
|
|
install -d ${D}${base_bindir}
|
|
|
|
install -m 4755 tinylogin ${D}${base_bindir}/tinylogin
|
|
|
|
for i in `cat tinylogin.links`; do
|
|
|
|
mkdir -p ${D}/`dirname $i`
|
|
|
|
ln -sf /bin/tinylogin ${D}$i
|
|
|
|
done
|
|
|
|
}
|