summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-04 18:02:05 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-04 18:02:05 +0000
commit393f8fbf92e46d373c8a3c2862e02ab14bfd2b5e (patch)
tree369f2648fec12f979d7b2a79ce9f9f4d37d7d377
parentVersion bumped to _rc5 for some fixes. (diff)
downloadhistorical-393f8fbf92e46d373c8a3c2862e02ab14bfd2b5e.tar.gz
historical-393f8fbf92e46d373c8a3c2862e02ab14bfd2b5e.tar.bz2
historical-393f8fbf92e46d373c8a3c2862e02ab14bfd2b5e.zip
touchup ebuild and add sanity checks
-rw-r--r--sys-apps/lcdutils/Manifest14
-rw-r--r--sys-apps/lcdutils/lcdutils-0.2.ebuild24
2 files changed, 23 insertions, 15 deletions
diff --git a/sys-apps/lcdutils/Manifest b/sys-apps/lcdutils/Manifest
index fc5a5bba1b24..1c1d63eadb04 100644
--- a/sys-apps/lcdutils/Manifest
+++ b/sys-apps/lcdutils/Manifest
@@ -1,4 +1,14 @@
-MD5 a204914cad2ec8ac07035aabc02cddc4 lcdutils-0.2.ebuild 1039
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
MD5 7864a53c73f427207e410bde9781fad4 ChangeLog 780
-MD5 959070af74ba35cb8b5317212fbde352 metadata.xml 380
MD5 6e620f6f7f21e97284c47c906a03bdd7 files/digest-lcdutils-0.2 63
+MD5 889b3d85ee6bf44d847d98f04f1cd0ce lcdutils-0.2.ebuild 1036
+MD5 959070af74ba35cb8b5317212fbde352 metadata.xml 380
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDky/vgIKl8Uu19MoRAiujAJ44lX5pYrVHBWsIPJ9qTyKRNTWWSgCfSyTu
+6g1VDyWEZpqdnjWG9wqMvVE=
+=idme
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/lcdutils/lcdutils-0.2.ebuild b/sys-apps/lcdutils/lcdutils-0.2.ebuild
index d7e4a4ba423d..bc8f47eb74e8 100644
--- a/sys-apps/lcdutils/lcdutils-0.2.ebuild
+++ b/sys-apps/lcdutils/lcdutils-0.2.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lcdutils/lcdutils-0.2.ebuild,v 1.5 2004/07/15 01:48:11 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lcdutils/lcdutils-0.2.ebuild,v 1.6 2005/12/04 18:02:05 vapier Exp $
DESCRIPTION="Cobalt RaQ/Qube LCD Writing and Button reading utilities"
HOMEPAGE=""
SRC_URI="mirror://gentoo/${P}.tar.gz"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* mips ~x86"
@@ -16,28 +17,25 @@ pkg_setup() {
# This package is aimed primarily at Cobalt Microserver systems. Mips originally, but it
# is reported to work on x86-based systems as well.
if [ "${PROFILE_ARCH}" != "cobalt" ]; then
- echo -e ""
+ echo ""
ewarn "This package is only for Cobalt Microserver systems. Its use on other types of"
ewarn "hardware is untested."
- echo -e ""
+ echo ""
fi
}
src_unpack() {
unpack ${A}
- cd ${S}
- mv Makefile Makefile.orig
- sed -e "s:CFLAGS=-O2 -Wall:CFLAGS=${CFLAGS}:g" Makefile.orig > Makefile
+ cd "${S}"
+ sed -i -e "s:CFLAGS=-O2 -Wall:CFLAGS=${CFLAGS}:g" Makefile
}
src_compile() {
- cd ${S}
- emake distclean
- emake all
+ emake distclean || die "distclean failed"
+ emake all || die "all failed"
}
src_install() {
- cd ${S}
- dobin buttond putlcd
- dodoc Changelog COPYING
+ dobin buttond putlcd || die "dobin failed"
+ dodoc Changelog
}