summaryrefslogtreecommitdiff
blob: 9419dc8b5a157b154109d0ceb9bb9484ba04e362 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/saydate/saydate-0.3.0.ebuild,v 1.1 2002/11/04 23:33:37 mkeadle Exp $

S=${WORKDIR}/${PN}
DESCRIPTION="A Linux shell program that talks the date and system uptime."
HOMEPAGE="http://unihedron.com/projects/saydate/saydate.php"
SRC_URI="http://unihedron.com/projects/saydate/${P}.tar.gz"
LICENSE="GPL2"
SLOT="0"
KEYWORDS="~x86"

DEPEND="sys-apps/supersed"
IUSE=""

src_compile() {
   einfo 'Nothing to compile'
}

src_install () {
   insinto /usr/share/man/man1
   doins ${S}/man/saydate.1.gz ${S}/man/au2raw.1.gz

   dodir /usr/share/saydate
   insinto /usr/share/saydate
   doins ${S}/data/*.raw 

   ssed -i "s:/dev/audio:/dev/dsp:" ${S}/saydate
   ssed -i "s:/dev/audio:/dev/dsp:" ${S}/au2raw
   ssed -i "s:/dev/audio:/dev/dsp:" ${S}/DESIGN
   dodoc README TODO HISTORY DESIGN COPYING
   dobin saydate au2raw

}