Package: cowsay Version: 3.03 Revision: 2 Source: ftp://ftp.nog.net/pub/tony/%n/%n-%v.tar.gz Source-MD5: b29169797359420dadb998079021a494 Patch: %n.patch CompileScript: echo InstallScript: << echo s,\\@BANGPERL\\@,!/usr/bin/perl,\; > install.pl echo s,\\@PREFIX\\@,%p,\; >> install.pl chmod +x install.pl mkdir -p %i/bin || (mkdir %i; mkdir %i/bin) /usr/bin/perl -p install.pl cowsay > %i/bin/cowsay chmod a+x %i/bin/cowsay ln -s %p/bin/cowsay %i/bin/cowthink mkdir -p %i/share/man/man1 || ($mkdir %i; mkdir %i/share; mkdir %i/share/man; mkdir %i/share/man/man1) /usr/bin/perl -p install.pl cowsay.1 > %i/share/man/man1/cowsay.1 chmod a+r %i/share/man/man1/cowsay.1 ln -s %p/share/man/man1/cowsay.1 %i/share/man/man1/cowthink.1 mkdir -p %i/share/cows || (mkdir %i; mkdir %i/share; mkdir %i/share/cows) cp -R cows %i/share chmod 664 %i/share/cows/*.cow << PostInstScript: << echo Okay, let us see if the install actually worked. if [ ! -f %p/share/cows/default.cow ]; then echo The default cow file did not make it across! echo Ooops, it failed...sorry! exit 1 fi echo Installation complete! Enjoy the cows! << DocFiles: ChangeLog INSTALL README MANIFEST License: GPL Description: Configurable talking characters in ASCII art DescDetail: << cowsay is a configurable talking ASCII cow (and other characters), written in Perl. It operates much as the figlet program does, and is written in the same spirit of silliness. << Homepage: http://www.nog.net/~tony/warez/cowsay.shtml Maintainer: None