diff options
-rw-r--r-- | app-misc/linux-logo/ChangeLog | 9 | ||||
-rw-r--r-- | app-misc/linux-logo/files/digest-linux-logo-4.15 | 3 | ||||
-rw-r--r-- | app-misc/linux-logo/linux-logo-4.15.ebuild | 74 |
3 files changed, 84 insertions, 2 deletions
diff --git a/app-misc/linux-logo/ChangeLog b/app-misc/linux-logo/ChangeLog index 5a379391724e..ad993ab78be6 100644 --- a/app-misc/linux-logo/ChangeLog +++ b/app-misc/linux-logo/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-misc/linux-logo -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/linux-logo/ChangeLog,v 1.33 2006/12/04 20:31:26 eroyf Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/linux-logo/ChangeLog,v 1.34 2007/01/09 03:32:54 vapier Exp $ + +*linux-logo-4.15 (09 Jan 2007) + + 09 Jan 2007; Mike Frysinger <vapier@gentoo.org> +linux-logo-4.15.ebuild: + Version bump. 04 Dec 2006; Alexander H. Færøy <eroyf@gentoo.org> linux-logo-4.12.ebuild: diff --git a/app-misc/linux-logo/files/digest-linux-logo-4.15 b/app-misc/linux-logo/files/digest-linux-logo-4.15 new file mode 100644 index 000000000000..a49c32a75919 --- /dev/null +++ b/app-misc/linux-logo/files/digest-linux-logo-4.15 @@ -0,0 +1,3 @@ +MD5 233e3a51ca98c3718b57925eb7816426 linux_logo-4.15.tar.gz 93472 +RMD160 d2325bdb5f10855004fa6f0956820401df8eb61a linux_logo-4.15.tar.gz 93472 +SHA256 c4864e215de4766fc364d236b1e64e8d5f2d227690aaff4576544b7d39a7cb9f linux_logo-4.15.tar.gz 93472 diff --git a/app-misc/linux-logo/linux-logo-4.15.ebuild b/app-misc/linux-logo/linux-logo-4.15.ebuild new file mode 100644 index 000000000000..bf40c5ce3d39 --- /dev/null +++ b/app-misc/linux-logo/linux-logo-4.15.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/linux-logo/linux-logo-4.15.ebuild,v 1.1 2007/01/09 03:32:54 vapier Exp $ + +inherit eutils + +MY_P=${PN/-/_}-${PV} +S=${WORKDIR}/${MY_P} +DESCRIPTION="A utility that displays an ANSI/ASCII logo and some system information" +HOMEPAGE="http://www.deater.net/weave/vmwprod/linux_logo/" +SRC_URI="http://www.deater.net/weave/vmwprod/linux_logo/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~mips ~ppc ~sparc ~x86" +IUSE="nls" + +RDEPEND="nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd "${S}" + echo "./logos/gentoo.logo" >> logo_config + cp "${FILESDIR}"/gentoo.logo "${S}"/logos/ + + epatch "${FILESDIR}"/${PN}-4.07-gentoo-logo.patch + sed -i -e 's:.*Trying to open .*::' linux_logo.c + + if ! use nls ; then + sed -i 's:cd po && $(MAKE):echo:' Makefile + fi + + sed -i \ + -e '/C_OPTS/s: -O2 : $(CFLAGS) :' \ + -e '/@strip/d' \ + Makefile || die + gunzip linux_logo.1.gz || die +} + +src_compile() { + emake || die +} + +src_install() { + dobin linux_logo || die + doman linux_logo.1 + + dodoc BUGS CHANGES README README.CUSTOM_LOGOS TODO USAGE LINUX_LOGO.FAQ + + if use nls ; then + dodir /usr/share/locale + make INSTALLDIR="${D}"/usr/share/locale -C po install || die + fi + + newinitd "${FILESDIR}"/${PN}.initscript ${PN} + newconfd "${FILESDIR}"/${PN}.conf ${PN} +} + +pkg_postinst() { + echo + einfo "Linux_logo ebuild for Gentoo comes with two Gentoo logos." + einfo "" + einfo "To display the first Gentoo logo type: linux_logo -L 3" + einfo "To display the second Gentoo logo type: linux_logo -L 4" + einfo "To display all the logos available type: linux_logo -L list." + einfo "" + einfo "To start linux_logo on boot, please type:" + einfo " rc-update add linux-logo default" + einfo "which uses the settings found in" + einfo " /etc/conf.d/linux-logo" + echo +} |