blob: 480954506f4e6dd5e09535e07334691d06a113d9 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/workman/workman-1.3.4.ebuild,v 1.1 2004/10/07 09:22:44 trapni Exp $
inherit eutils
DESCRIPTION="Graphical tool for playing audio CDs on a CD-ROM drive"
# I've crawled the web for a homepage of workman, I found alot users using it
# on solaris/debian/etc, however, no (official) homepage available.
# instead, I'll just point $HOMEPAGE to the mainpage of the author. (trapni)
#HOMEPAGE="http://www.midwinter.com/WorkMan"
#HOMEPAGE="http://www.midwinter.com/~workman/index.html"
HOMEPAGE="http://www.midwinter.com/"
# This is our compound patch derived from debian. We use it because:
# * No more updates come from midwinter.com, no more workman seems to be on their site
# * It does little harm, only some defaults are changed which we can redefine anyway
SRC_PATCH="${P/-/_}-16.diff"
# We use the xview tarball available from debian because the original ftp is dead
# original source: ftp://ftp.midwinter.com/WorkMan/workman-1.3.4.tar.gz
SRC_URI="http://ftp.debian.org/pool/main/w/workman/${PN}_${PV}.orig.tar.gz
http://ftp.debian.org/pool/main/w/workman/${SRC_PATCH}.gz"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
DEPEND="
>=x11-libs/xview-3.2
sys-apps/groff
"
KEYWORDS="-* ~x86"
src_unpack() {
unpack ${A}
epatch ${SRC_PATCH}
}
src_compile() {
emake -f Makefile.linux PASS="${CFLAGS}" || die "emake failed"
make workbone -f Makefile.linux || die "making workbone failed"
}
src_install() {
dobin workman workbone
doinfo workman.info
newman workman.man workman.1
newman workmandb.man workman.5
dodoc README
newdoc debian/changelog Changelog.debian
dohtml HTML/*
insinto /usr/share/pixmaps
doins debian/workman.xpm
}
pkg_postinst() {
einfo
einfo "You need to have created /dev/cdrom with read/executable permissions"
einfo
}
|