blob: 95205e4dd16b7bc3aae0ce90468665425189bba6 (
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
35
36
37
38
39
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
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="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc ppc64 sparc x86"
S=${WORKDIR}/${PN}
src_prepare() {
default
sed -i 's:/dev/audio:/dev/dsp:' saydate au2raw DESIGN || die
# don't install pre-compressed files
gunzip man/{saydate,au2raw}.1.gz || die
}
src_compile() {
# Don't leave this empty or it tries
# to install directly on livefs
:
}
src_install() {
dobin saydate au2raw
insinto /usr/share/saydate
doins data/*.raw
doman man/{saydate,au2raw}.1
dodoc README TODO HISTORY DESIGN
}
|