Initial import of libcdaudio-0.99.4

This is multi-platform cd player development library
This commit is contained in:
kevlo 2001-01-19 03:19:41 +00:00
parent 74f7920570
commit a8c5a17972
8 changed files with 140 additions and 0 deletions

23
audio/libcdaudio/Makefile Normal file
View File

@ -0,0 +1,23 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/01/19 03:19:41 kevlo Exp $
DISTNAME= libcdaudio-0.99.4
CATEGORIES= audio
NEED_VERSION= 1.351
HOMEPAGE= http://cdcd.undergrid.net/libcdaudio/
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/source_archive/
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (libcdaudio-0.99.4.tar.gz) = 1e673579fc377f2240d993a558a048be
RMD160 (libcdaudio-0.99.4.tar.gz) = 01d6e3a70f090e0e886e2c7520fd9cb031a138d2
SHA1 (libcdaudio-0.99.4.tar.gz) = 00ee00d4e6dcff71b28be377b972c91f0277e273

View File

@ -0,0 +1,48 @@
--- ltconfig.orig Thu Jan 18 22:59:21 2001
+++ ltconfig Thu Jan 18 23:03:12 2001
@@ -1105,6 +1105,9 @@
with_gnu_ld=no
fi
;;
+openbsd*)
+ with_gnu_ld=no
+ ;;
esac
@@ -1391,10 +1394,18 @@
;;
openbsd*)
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
- hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
+ case "$host_os" in
+ openbsd2.[01234567])
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
+ hardcode_libdir_flag_spec='-R$libdir'
+ ;;
+ *)
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts'
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ ;;
+ esac
;;
os2*)
@@ -1955,13 +1966,10 @@
openbsd*)
version_type=sunos
- if test "$with_gnu_ld" = yes; then
- need_lib_prefix=no
- need_version=no
- fi
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
shlibpath_var=LD_LIBRARY_PATH
+ deplibs_check_method='pass_all'
;;
os2*)

View File

@ -0,0 +1,43 @@
--- ltmain.sh.orig Thu Jan 18 23:03:45 2001
+++ ltmain.sh Thu Jan 18 23:04:16 2001
@@ -3522,40 +3522,6 @@
# Exit here if they wanted silent mode.
test "$show" = : && exit 0
- echo "----------------------------------------------------------------------"
- echo "Libraries have been installed in:"
- for libdir in $libdirs; do
- echo " $libdir"
- done
- echo
- echo "If you ever happen to want to link against installed libraries"
- echo "in a given directory, LIBDIR, you must either use libtool, and"
- echo "specify the full pathname of the library, or use \`-LLIBDIR'"
- echo "flag during linking and do at least one of the following:"
- if test -n "$shlibpath_var"; then
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
- echo " during execution"
- fi
- if test -n "$runpath_var"; then
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
- echo " during linking"
- fi
- if test -n "$hardcode_libdir_flag_spec"; then
- libdir=LIBDIR
- eval flag=\"$hardcode_libdir_flag_spec\"
-
- echo " - use the \`$flag' linker flag"
- fi
- if test -n "$admincmds"; then
- echo " - have your system administrator run these commands:$admincmds"
- fi
- if test -f /etc/ld.so.conf; then
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
- fi
- echo
- echo "See any operating system documentation about shared libraries for"
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
- echo "----------------------------------------------------------------------"
exit 0
;;

View File

@ -0,0 +1 @@
multi-platform cd player development library

View File

@ -0,0 +1,12 @@
libcdaudio is a multi-platform CD player development library which
works with NetBSD, Linux, FreeBSD, OpenBSD, Solaris, and Irix. It
includes a basic command set for controlling the operation of the
CD-ROM drive as well as functions for accessing both the CDDB, CD
Index, and Cover Art Index.
The entire libcdaudio API may be found in the libcdaudio
programmer's manual at "http://cdcd.undergrid.net/libcdaudio/manual/".
The interface to the given functions will remain as they are
specified, although new functions may continue to be added.
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2001/01/19 03:19:42 kevlo Exp $
lib/libcdaudio.so.1.0
DYNLIBDIR(%B)

View File

@ -0,0 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/01/19 03:19:42 kevlo Exp $
bin/libcdaudio-config
include/cdaudio.h
lib/libcdaudio.a
lib/libcdaudio.la
%%SHARED%%
share/aclocal/libcdaudio.m4