summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Manna <nitro@gentoo.org>2002-07-04 18:37:07 +0000
committerKyle Manna <nitro@gentoo.org>2002-07-04 18:37:07 +0000
commitcaee2995676bbedfb93ff01d437df0c931fe909c (patch)
tree1c85d66f9389d8b314e7a3e1823f07fb49d84990 /app-misc
parentMasked gstreamer - x86 asm in it (diff)
downloadgentoo-2-caee2995676bbedfb93ff01d437df0c931fe909c.tar.gz
gentoo-2-caee2995676bbedfb93ff01d437df0c931fe909c.tar.bz2
gentoo-2-caee2995676bbedfb93ff01d437df0c931fe909c.zip
Inital release
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/nomadii-utils/ChangeLog9
-rw-r--r--app-misc/nomadii-utils/files/digest-nomadii-utils-0.81
-rw-r--r--app-misc/nomadii-utils/nomadii-utils-0.8.ebuild60
3 files changed, 70 insertions, 0 deletions
diff --git a/app-misc/nomadii-utils/ChangeLog b/app-misc/nomadii-utils/ChangeLog
new file mode 100644
index 000000000000..c2ffb69c0aaf
--- /dev/null
+++ b/app-misc/nomadii-utils/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-misc/nomadii-utils
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/nomadii-utils/ChangeLog,v 1.1 2002/07/04 18:37:07 nitro Exp $
+
+*nomadii-utils-0.8 (04 Jul 2002)
+
+ 01 Feb 2002; Kyle Manna <nitro@gentoo.org> nomadii-utils-0.8.ebuild ChangeLog:
+
+ Inital release of ChangeLog and ebuild
diff --git a/app-misc/nomadii-utils/files/digest-nomadii-utils-0.8 b/app-misc/nomadii-utils/files/digest-nomadii-utils-0.8
new file mode 100644
index 000000000000..6b7ca960d0b0
--- /dev/null
+++ b/app-misc/nomadii-utils/files/digest-nomadii-utils-0.8
@@ -0,0 +1 @@
+MD5 023ed7f92ca168483b0533185c81d21f nomadII-utils-0.8.tgz 87551
diff --git a/app-misc/nomadii-utils/nomadii-utils-0.8.ebuild b/app-misc/nomadii-utils/nomadii-utils-0.8.ebuild
new file mode 100644
index 000000000000..4602f14a3f59
--- /dev/null
+++ b/app-misc/nomadii-utils/nomadii-utils-0.8.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/nomadii-utils/nomadii-utils-0.8.ebuild,v 1.1 2002/07/04 18:37:07 nitro Exp $
+
+P="nomadII-utils-$PV"
+S=${WORKDIR}/${P}
+
+DESCRIPTION="Supports for Creative Nomad II, IIc and II MG under Linux running USB for file transfers and other operations."
+HOMEPAGE="http://nomadii.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nomadii/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND="virtual/glibc
+ >=sys-libs/ncurses-5.2
+ readline? ( >=sys-libs/readline-4.1 )"
+
+src_compile() {
+
+ cp -f Makefile Makefile.orig
+ sed -e "s:^LIBTERMCAP=-ltermcap$:LIBTERMCAP=-lncurses:" \
+ Makefile.orig > Makefile
+
+ cp -f Makefile Makefile.orig
+ sed -e "s:^OPTIMIZER= -O2$:OPTIMIZER= ${CFLAGS}:" \
+ Makefile.orig > Makefile
+
+ if [ -z "`use readline`" ] ; then
+ cp -f Makefile Makefile.orig
+ sed -e "s:^USE_READLINE=1$:USE_READLINE=0:" \
+ Makefile.orig > Makefile
+ fi
+
+ emake || die "compile failure"
+}
+
+src_install() {
+
+ dodir /usr/bin /usr/share/man/man1
+ dobin nomadii
+ newman nomadii.man nomadii.1
+
+}
+
+pkg_postinst() {
+ if ! groupmod usb; then
+ groupadd -g 85 usb || die "problem adding group usb"
+ fi
+
+ echo
+ einfo "To use nomadii, you need to have usbdevfs compiled in your kernel"
+ einfo "Look for: CONFIG_USB_DEVICEFS or Preliminary USB device filesystem"
+ echo
+ einfo "To use nomadii as a regular user, add the following to /etc/fstab"
+ einfo " usbdevfs /proc/bus/usb usbdevfs devmode=0660,devgid=85 0 0"
+ einfo "Remount it, then add the regular user to the usb group"
+ einfo " usermod -G usb <username>"
+ echo
+}