summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Parpart <trapni@gentoo.org>2004-10-07 09:22:44 +0000
committerChristian Parpart <trapni@gentoo.org>2004-10-07 09:22:44 +0000
commita20fee6e7e344ee3c04ccf9d881d2a6fe1e758e6 (patch)
tree231779a48d42fd98caec35e9038507720c717e7b /media-sound/workman
parentebuild cleanup. (Manifest recommit) (diff)
downloadgentoo-2-a20fee6e7e344ee3c04ccf9d881d2a6fe1e758e6.tar.gz
gentoo-2-a20fee6e7e344ee3c04ccf9d881d2a6fe1e758e6.tar.bz2
gentoo-2-a20fee6e7e344ee3c04ccf9d881d2a6fe1e758e6.zip
initial import
Diffstat (limited to 'media-sound/workman')
-rw-r--r--media-sound/workman/ChangeLog8
-rw-r--r--media-sound/workman/Manifest2
-rw-r--r--media-sound/workman/files/digest-workman-1.3.42
-rw-r--r--media-sound/workman/metadata.xml5
-rw-r--r--media-sound/workman/workman-1.3.4.ebuild67
5 files changed, 84 insertions, 0 deletions
diff --git a/media-sound/workman/ChangeLog b/media-sound/workman/ChangeLog
new file mode 100644
index 000000000000..d51436bb0b58
--- /dev/null
+++ b/media-sound/workman/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for media-sound/workman
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/workman/ChangeLog,v 1.1 2004/10/07 09:22:44 trapni Exp $
+
+ 07 Oct 2004; Christian Parpart <trapni@gentoo.org> :
+ Original ebuild submitted by Matija Suklje <matija.suklje@rutka.net>
+ Adapted to meet ebuild policies.
+
diff --git a/media-sound/workman/Manifest b/media-sound/workman/Manifest
new file mode 100644
index 000000000000..ab67beb78c95
--- /dev/null
+++ b/media-sound/workman/Manifest
@@ -0,0 +1,2 @@
+MD5 0a80ed16923a4caf95e3a6629255ed53 workman-1.3.4.ebuild 1466
+MD5 912887e45cc8cede9ddc9d47e68f7bc6 files/digest-workman-1.3.4 138
diff --git a/media-sound/workman/files/digest-workman-1.3.4 b/media-sound/workman/files/digest-workman-1.3.4
new file mode 100644
index 000000000000..2c92e30d2430
--- /dev/null
+++ b/media-sound/workman/files/digest-workman-1.3.4
@@ -0,0 +1,2 @@
+MD5 061cd5ea7c27068f29e5793255c7e01b workman_1.3.4.orig.tar.gz 209019
+MD5 5ee5a1d771947c7d97e19c3eb887d19f workman_1.3.4-16.diff.gz 26933
diff --git a/media-sound/workman/metadata.xml b/media-sound/workman/metadata.xml
new file mode 100644
index 000000000000..3bf6bcfeb512
--- /dev/null
+++ b/media-sound/workman/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sound</herd>
+</pkgmetadata>
diff --git a/media-sound/workman/workman-1.3.4.ebuild b/media-sound/workman/workman-1.3.4.ebuild
new file mode 100644
index 000000000000..480954506f4e
--- /dev/null
+++ b/media-sound/workman/workman-1.3.4.ebuild
@@ -0,0 +1,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
+}