diff options
author | Bruce A. Locke <blocke@gentoo.org> | 2002-07-21 21:56:37 +0000 |
---|---|---|
committer | Bruce A. Locke <blocke@gentoo.org> | 2002-07-21 21:56:37 +0000 |
commit | 024ea138ef5c81c4b44f6f4c732f0c2d26163bb0 (patch) | |
tree | 768152f16fbab9a56d228fee06a8bd29c5b2eafc /app-misc | |
parent | Dependency fix for netpbm in RDEPEND and thus fixing lintool bugs (diff) | |
download | gentoo-2-024ea138ef5c81c4b44f6f4c732f0c2d26163bb0.tar.gz gentoo-2-024ea138ef5c81c4b44f6f4c732f0c2d26163bb0.tar.bz2 gentoo-2-024ea138ef5c81c4b44f6f4c732f0c2d26163bb0.zip |
initial version
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/cowsay/ChangeLog | 11 | ||||
-rw-r--r-- | app-misc/cowsay/cowsay-3.03.ebuild | 42 | ||||
-rw-r--r-- | app-misc/cowsay/files/digest-cowsay-3.03 | 1 |
3 files changed, 54 insertions, 0 deletions
diff --git a/app-misc/cowsay/ChangeLog b/app-misc/cowsay/ChangeLog new file mode 100644 index 000000000000..8964ce70f1c6 --- /dev/null +++ b/app-misc/cowsay/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for app-misc/cowsay +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/cowsay/ChangeLog,v 1.1 2002/07/21 21:56:37 blocke Exp $ + +*cowsay-3.03 (21 Jul 2002) + + 21 Jul 2002; Bruce A. Locke <blocke@shivan.org> cowsay-3.03.ebuild, digest-cowsay-3.03: + + Initial Version + + diff --git a/app-misc/cowsay/cowsay-3.03.ebuild b/app-misc/cowsay/cowsay-3.03.ebuild new file mode 100644 index 000000000000..a5ec7ee05dc0 --- /dev/null +++ b/app-misc/cowsay/cowsay-3.03.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/app-misc/cowsay/cowsay-3.03.ebuild,v 1.1 2002/07/21 21:56:37 blocke Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Cowsay is a configurable talking cow written in Perl" +SRC_URI="http://www.nog.net/~tony/warez/${P}.tar.gz" +HOMEPAGE="http://www.nog.net/~tony/warez/cowsay.shtml" +DEPEND="sys-devel/perl" +SLOT="0" +KEYWORDS="*" +LICENSE="Artistic" + +src_compile() { + + # cowsasy is a perl script so all we have to do is set up some variables + + mv cowsay cowsay.orig + sed -e 's|%BANGPERL%|\!/usr/bin/perl|g' \ + -e 's|%PREFIX%|/usr|g' \ + -e 's|/share/cows|/share/cowsay|g' \ + -e 's| qw(expand)||g' \ + -e 's| qw(wrap fill $columns)||g' \ + cowsay.orig > cowsay || die + +} + +src_install() { + + dobin cowsay + dosym cowsay /usr/bin/cowthink + + doman cowsay.1 + dosym cowsay.1.gz /usr/share/man/man1/cowthink.1.gz + + dodoc ChangeLog LICENSE MANIFEST README LICENSE + + # now for the cowfiles + dodir /usr/share/cowsay + cp ${S}/cows/* ${D}/usr/share/cowsay || die + +} diff --git a/app-misc/cowsay/files/digest-cowsay-3.03 b/app-misc/cowsay/files/digest-cowsay-3.03 new file mode 100644 index 000000000000..889178f936d7 --- /dev/null +++ b/app-misc/cowsay/files/digest-cowsay-3.03 @@ -0,0 +1 @@ +MD5 b29169797359420dadb998079021a494 cowsay-3.03.tar.gz 15189 |