Initial import of rioutil-1.4.4

A utility designed for interfacing with Rio's third, fourth,
and fifth generations of portable mp3 players, including the
Rio 600/800/900/S-Series/Riot/psa[play/Fuse/Chiba/Cali.
This commit is contained in:
mjc 2004-06-26 07:34:25 +00:00
parent 619d3d9aca
commit 4f97894880
7 changed files with 83 additions and 0 deletions

27
audio/rioutil/Makefile Normal file
View File

@ -0,0 +1,27 @@
# $OpenBSD: Makefile,v 1.1.1.1 2004/06/26 07:34:25 mjc Exp $
COMMENT= "utility for Rio mp3 players"
DISTNAME= rioutil-1.4.4
CATEGORIES= audio
HOMEPAGE= http://rioutil.sf.net
MAINTAINER= Michael Coulter <mjc@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rioutil/}
LIB_DEPENDS= usb.7.0::devel/libusb
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-libusb
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
.include <bsd.port.mk>

3
audio/rioutil/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (rioutil-1.4.4.tar.gz) = 65902f2e8a0ae18b71937ee4d1803f8b
RMD160 (rioutil-1.4.4.tar.gz) = 20a85891f9d12d1ff9b2ee7c76b217e1b603f691
SHA1 (rioutil-1.4.4.tar.gz) = 37d3119600b6cecf479ab1f88a5b507c83aed1a3

View File

@ -0,0 +1,28 @@
$OpenBSD: patch-include_rio_internal_h,v 1.1.1.1 2004/06/26 07:34:25 mjc Exp $
--- include/rio_internal.h.orig Mon Jan 19 23:41:20 2004
+++ include/rio_internal.h Wed Jun 23 19:56:43 2004
@@ -547,6 +547,8 @@ unsigned int crc32_rio (un
u_int32_t bswap_32(u_int32_t);
#elif defined (__NetBSD__)
#define bswap_32(x) bswap32(x)
+#elif defined (__OpenBSD__)
+#define bswap_32(x) swap32(x)
#endif
#ifndef HAVE_LIBGEN_H
@@ -563,10 +565,14 @@ char *basename(char *x);
#include <machine/endian.h>
-#else
+#elif defined (__OpenBSD__)
#include <sys/endian.h>
+
+#else
+
#include <sys/bswap.h>
+#include <sys/endian.h>
#endif

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-librioutil_cksum_c,v 1.1.1.1 2004/06/26 07:34:25 mjc Exp $
--- librioutil/cksum.c.orig Wed Jun 23 20:00:14 2004
+++ librioutil/cksum.c Wed Jun 23 20:01:33 2004
@@ -31,6 +31,8 @@
#include <endian.h>
#elif defined(__FreeBSD__) || defined(__MacOSX__)
#include <machine/endian.h>
+#elif defined(__OpenBSD__)
+#include <sys/endian.h>
#else
#include <sys/endian.h>
#include <sys/bswap.h>

3
audio/rioutil/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
A utility designed for interfacing with Rio's third, fourth,
and fifth generations of portable mp3 players, including the
Rio 600/800/900/S-Series/Riot/psa[play/Fuse/Chiba/Cali.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2004/06/26 07:34:25 mjc Exp $
lib/librioutil.so.5.1
DYNLIBDIR(%D/lib)

7
audio/rioutil/pkg/PLIST Normal file
View File

@ -0,0 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/06/26 07:34:25 mjc Exp $
bin/rioutil
include/rio.h
lib/librioutil.a
lib/librioutil.la
%%SHARED%%
man/man1/rioutil.1