Fix typo in libcddb .bep file license name. Initial .bep and .patch for libcdio. Moved vlc patch to patches directory, renamed

old patch.
This commit is contained in:
Scott McCreary
2010-10-05 20:20:55 +00:00
parent 0f4f6e32be
commit 0a38ffdbf8
6 changed files with 826 additions and 781 deletions

View File

@@ -0,0 +1,25 @@
DESCRIPTION="A library to encapsulate CD-ROM reading and control"
HOMEPAGE="http://www.gnu.org/software/libcdio"
SRC_URI="ftp://ftp.gnu.org/gnu/libcdio/libcdio-0.82.tar.gz"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="1c29b18e01ab2b966162bc727bf3c360"
BUILD {
cd libcdio-0.82
libtoolize --force --copy --install
aclocal
autoconf
automake
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
}
INSTALL {
cd libcdio-0.82
make install
}
LICENSE="GNU GPL v3"
COPYRIGHT="2003-2009 Rocky Bernstein
1996-1998 Gerd Knorr and Heiko Eißfeldt"

View File

@@ -0,0 +1,20 @@
diff -urN libcdio-0.82/configure.ac libcdio-0.82-haiku/configure.ac
--- libcdio-0.82/configure.ac 2009-10-27 11:26:32.055574528 +0000
+++ libcdio-0.82-haiku/configure.ac 2010-10-05 11:54:28.000000000 +0000
@@ -246,7 +246,7 @@
dnl empty_array_size
AC_MSG_CHECKING([how to create empty arrays])
-empty_array_size="xxxx"
+empty_array_size="xxx"
AC_TRY_COMPILE([],[struct { int foo; int bar[]; } doo;], empty_array_size="")
if test "x$empty_array_size" = "xxxx";then
@@ -572,6 +572,7 @@
[AC_MSG_WARN([new enough libcddb not found. CDDB access disabled. Get libcddb from http://libcddb.sourceforge.net])
HAVE_CDDB=no])
AC_CHECK_LIB(socket, connect)
+ AC_CHECK_LIB(network, connect)
AC_CHECK_FUNC(gethostbyname, , AC_CHECK_LIB(nsl, gethostbyname))
fi