summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/tinylogin/tinylogin-1.4.ebuild')
-rw-r--r--sys-apps/tinylogin/tinylogin-1.4.ebuild22
1 files changed, 13 insertions, 9 deletions
diff --git a/sys-apps/tinylogin/tinylogin-1.4.ebuild b/sys-apps/tinylogin/tinylogin-1.4.ebuild
index 5167e690f8fc..3cff3109142e 100644
--- a/sys-apps/tinylogin/tinylogin-1.4.ebuild
+++ b/sys-apps/tinylogin/tinylogin-1.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/tinylogin/tinylogin-1.4.ebuild,v 1.1 2003/07/07 20:12:49 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/tinylogin/tinylogin-1.4.ebuild,v 1.1.1.1 2005/11/30 09:56:03 chriswhite Exp $
DESCRIPTION="worlds smallest login/passwd/getty/etc"
HOMEPAGE="http://tinylogin.busybox.net/"
@@ -8,24 +8,28 @@ SRC_URI="http://tinylogin.busybox.net/downloads/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="amd64 arm x86 ~ppc"
+IUSE="static make-symlinks"
-DEPEND="virtual/glibc"
+DEPEND="virtual/libc"
src_compile() {
local myconf=""
use static && myconf="${myconf} DOSTATIC=true"
+ type -p ${CHOST}-ar && export CROSS=${CHOST}-
emake ${myconf} || die
}
src_install() {
- into /
- dobin tinylogin
- into /usr
- dodoc Changelog README TODO
+ make PREFIX="${D}" install || die
+ if ! use make-symlinks ; then
+ rm -r "${D}"/sbin "${D}"/usr/bin "${D}"/bin/{add*,del*,login,su}
+ fi
+
+ doman docs/*.{1,8}
+ dodoc Changelog README TODO
cd docs
- doman *.1 *.8
dodoc *.txt
dohtml -r tinylogin.busybox.net
docinto pod