summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2003-01-16 07:27:45 +0000
committerNick Hadaway <raker@gentoo.org>2003-01-16 07:27:45 +0000
commitce96de8f2aba3bc47997dad3e6aba4975d55ad50 (patch)
tree61937c117ab1a2a51087392f1c9fea0007e90377 /sys-apps/usbd
parentMinor fix to build under GTK+-2.2. (diff)
downloadhistorical-ce96de8f2aba3bc47997dad3e6aba4975d55ad50.tar.gz
historical-ce96de8f2aba3bc47997dad3e6aba4975d55ad50.tar.bz2
historical-ce96de8f2aba3bc47997dad3e6aba4975d55ad50.zip
New ebuild as presented on bug #11438
Diffstat (limited to 'sys-apps/usbd')
-rw-r--r--sys-apps/usbd/ChangeLog10
-rw-r--r--sys-apps/usbd/files/digest-usbd-0.11
-rw-r--r--sys-apps/usbd/files/usbd20
-rw-r--r--sys-apps/usbd/usbd-0.1.ebuild30
4 files changed, 61 insertions, 0 deletions
diff --git a/sys-apps/usbd/ChangeLog b/sys-apps/usbd/ChangeLog
new file mode 100644
index 000000000000..d94dcb848bba
--- /dev/null
+++ b/sys-apps/usbd/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-apps/usbd
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbd/ChangeLog,v 1.1 2003/01/16 07:27:45 raker Exp $
+
+*usbd-0.1 (15 Jan 2003)
+
+ 15 Jan 2003; Nick Hadaway <raker@gentoo.org> usbd-0.1.ebuild,
+ files/digest-usbd-0.1, files/usbd :
+ New ebuild as suggested by Kfir Ozer on bug #11438 and modified
+ by lordvan.
diff --git a/sys-apps/usbd/files/digest-usbd-0.1 b/sys-apps/usbd/files/digest-usbd-0.1
new file mode 100644
index 000000000000..a11bfc49d4a7
--- /dev/null
+++ b/sys-apps/usbd/files/digest-usbd-0.1
@@ -0,0 +1 @@
+MD5 3f9aebc8fc05aa77286f685aac7d8672 usbd-0.1.tar.gz 100075
diff --git a/sys-apps/usbd/files/usbd b/sys-apps/usbd/files/usbd
new file mode 100644
index 000000000000..2b402040edca
--- /dev/null
+++ b/sys-apps/usbd/files/usbd
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+depend() {
+ need localmount
+}
+
+start() {
+ ebegin "Starting usb daemon"
+ /usr/sbin/usbd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping usb daemon"
+ killall /usr/sbin/usbd
+ eend $?
+}
diff --git a/sys-apps/usbd/usbd-0.1.ebuild b/sys-apps/usbd/usbd-0.1.ebuild
new file mode 100644
index 000000000000..3b49a38c4000
--- /dev/null
+++ b/sys-apps/usbd/usbd-0.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbd/usbd-0.1.ebuild,v 1.1 2003/01/16 07:27:45 raker Exp $
+
+DESCRIPTION="USB Daemon"
+HOMEPAGE="http://usb.cs.tum.edu"
+SRC_URI="http://usb.cs.tum.edu/download/usbd/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="virtual/glibc
+ >=sys-apps/usbutils-0.11"
+S=${WORKDIR}/${P}
+
+src_compile() {
+ econf --prefix=/usr --sysconfdir=/etc/usbd
+ mv Makefile Makefile.orig
+ sed s/example1/''/ Makefile.orig > Makefile
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/usbd usbd
+ insinto /usr/share/doc/${P}/example1
+ doins example1/*
+ dodoc AUTHORS COPYING ChangeLog INSTALL README NEWS
+}