summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2005-07-30 15:06:24 +0000
committerTony Vroon <chainsaw@gentoo.org>2005-07-30 15:06:24 +0000
commit0527fcdcd482eb7e3427138ca8dc91a710712451 (patch)
tree6e7b74e74ceb3f512f46ec1e52d6331746becec2 /media-libs/libnjb
parentRemoved old versions. (diff)
downloadgentoo-2-0527fcdcd482eb7e3427138ca8dc91a710712451.tar.gz
gentoo-2-0527fcdcd482eb7e3427138ca8dc91a710712451.tar.bz2
gentoo-2-0527fcdcd482eb7e3427138ca8dc91a710712451.zip
Last ebuild with the old API was removed. Readding.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'media-libs/libnjb')
-rw-r--r--media-libs/libnjb/ChangeLog5
-rw-r--r--media-libs/libnjb/Manifest22
-rw-r--r--media-libs/libnjb/files/digest-libnjb-2.1.21
-rw-r--r--media-libs/libnjb/libnjb-2.1.2.ebuild42
4 files changed, 54 insertions, 16 deletions
diff --git a/media-libs/libnjb/ChangeLog b/media-libs/libnjb/ChangeLog
index 8fd09afc1e3b..bac073d9c5e1 100644
--- a/media-libs/libnjb/ChangeLog
+++ b/media-libs/libnjb/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/libnjb
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libnjb/ChangeLog,v 1.19 2005/07/16 21:03:05 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libnjb/ChangeLog,v 1.20 2005/07/30 15:06:24 chainsaw Exp $
+
+ 30 Jul 2005; Tony Vroon <chainsaw@gentoo.org> +libnjb-2.1.2.ebuild:
+ Last ebuild with the old API was removed. Readding.
*libnjb-2.2 (16 Jul 2005)
diff --git a/media-libs/libnjb/Manifest b/media-libs/libnjb/Manifest
index 7990e52cae64..4cfb3e3104b3 100644
--- a/media-libs/libnjb/Manifest
+++ b/media-libs/libnjb/Manifest
@@ -1,20 +1,12 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 776a71e43518b0241d0db59d6e0c09ba libnjb-2.2.ebuild 1052
-MD5 08a6b13091c718edd325a42cb2e7a997 libnjb-1.2.ebuild 1207
-MD5 b768f16074f847c7f23eedd11c52ded9 ChangeLog 2680
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
+MD5 b768f16074f847c7f23eedd11c52ded9 ChangeLog 2680
+MD5 08a6b13091c718edd325a42cb2e7a997 libnjb-1.2.ebuild 1207
+MD5 1fc2d86e1df6e65b1f57024f95c33a37 libnjb-2.1.2.ebuild 1110
+MD5 b8b03bca7250e43640fce00915a54f69 files/nomadjukebox 1048
+MD5 1ad18266b17b36578ea26405aae99b91 files/digest-libnjb-2.1.2 64
+MD5 eccde352d9d2ac120ddcaa4183003577 files/libnjb-errno.patch 278
MD5 ee354651ff3fa41baa3e00119f65563b files/digest-libnjb-1.2 62
-MD5 7c3b243f6eefe2001b8ed9286411d69c files/digest-libnjb-2.2 62
MD5 786a98942a3fda4f8367f518f413731d files/libnjb-2.0_pre20050208-gentoo-multilib.patch 640
+MD5 7c3b243f6eefe2001b8ed9286411d69c files/digest-libnjb-2.2 62
MD5 abf7c2c90f2fa0bda8417050514e1e2d files/libnjb-1.2-gentoo-multilib.patch 640
-MD5 b8b03bca7250e43640fce00915a54f69 files/nomadjukebox 1048
-MD5 eccde352d9d2ac120ddcaa4183003577 files/libnjb-errno.patch 278
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFC2XYo/rLF9B432nYRAveHAKDNdAG/fRiA6ne1uccr4ARpr9x4iQCeNIxn
-I9VhqKqK/JsKj/Tj6n4Eixo=
-=+VS8
------END PGP SIGNATURE-----
diff --git a/media-libs/libnjb/files/digest-libnjb-2.1.2 b/media-libs/libnjb/files/digest-libnjb-2.1.2
new file mode 100644
index 000000000000..2579f88b0e8a
--- /dev/null
+++ b/media-libs/libnjb/files/digest-libnjb-2.1.2
@@ -0,0 +1 @@
+MD5 74369deb52408fd274223aaaa409e206 libnjb-2.1.2.tar.gz 444880
diff --git a/media-libs/libnjb/libnjb-2.1.2.ebuild b/media-libs/libnjb/libnjb-2.1.2.ebuild
new file mode 100644
index 000000000000..e8c511a5bd02
--- /dev/null
+++ b/media-libs/libnjb/libnjb-2.1.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libnjb/libnjb-2.1.2.ebuild,v 1.3 2005/07/30 15:06:24 chainsaw Exp $
+
+inherit eutils
+
+MY_PV=${PV/_pre/-0.}
+
+DESCRIPTION="libnjb is a C library and API for communicating with the Creative Nomad JukeBox digital audio player under BSD and Linux."
+HOMEPAGE="http://libnjb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/libnjb/${PN}-${MY_PV}.tar.gz"
+IUSE=""
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND=">=dev-libs/libusb-0.1.7"
+
+S=${WORKDIR}/${PN}-${PV/_*}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ sed -i "s:SUBDIRS = src sample doc:SUBDIRS = src doc:" Makefile.in || die "sed failed"
+}
+
+src_compile() {
+ econf --enable-hotplugging || die "./configure failed."
+ emake -j1 || die "make failed."
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "failed to install"
+
+ # Backwards compatibility
+ dosym libnjb.so /usr/$(get_libdir)/libnjb.so.0
+
+ dodoc FAQ INSTALL CHANGES README
+ exeinto /etc/hotplug/usb/
+ doexe nomadjukebox
+}