You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-apps/cobalt-panel-utils/cobalt-panel-utils-1.0.2.eb...

46 lines
1.1 KiB

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/cobalt-panel-utils/cobalt-panel-utils-1.0.2.ebuild,v 1.5 2010/10/10 19:00:16 gurligebis Exp $
EAPI="2"
inherit eutils
DESCRIPTION="LCD and LED panel utilities for the Sun Cobalts"
HOMEPAGE="http://gentoo.404ster.com/"
SRC_URI="ftp://www.404ster.com/pub/gentoo-stuff/ebuilds/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~mips x86"
IUSE="static"
RDEPEND="sys-devel/gettext"
DEPEND="${DEPEND}
sys-devel/autoconf"
src_configure() {
sed -i \
-e"/^COPTS/s:= := ${CFLAGS} :" \
-e"/^LDFLAGS/s:= := ${LDFLAGS} :"\
Makefile || die "sed failed"
}
src_compile() {
if use static; then
einfo "Building as static executables"
export STATIC="-static"
fi
emake || die
}
src_install() {
into /
dosbin "${S}"/lcd-flash "${S}"/lcd-getip "${S}"/lcd-swrite \
"${S}"/lcd-write "${S}"/lcd-yesno "${S}"/lcd-setcursor "${S}"/iflink
"${S}"/iflinkstatus "${S}"/readbutton || die "dosbin failed"
dodoc doc/README* doc/CREDITS
doman doc/man/*.1
}