Initial .bep and .patch for cdrdao, it's not yet build, but this is a start, may or may not be useful on Haiku.

This commit is contained in:
Scott McCreary
2010-09-15 22:52:08 +00:00
parent 6ef71d17ea
commit 3c304a4af9
2 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
DESCRIPTION="Burn CDs in disk-at-once mode"
HOMEPAGE="http://cdrdao.sourceforge.net/"
SRC_URI="http://downloads.sourceforge.net/project/cdrdao/cdrdao/1.2.3/cdrdao-1.2.3.tar.bz2"
CHECKSUM_MD5="8d15ba6280bb7ba2f4d6be31d28b3c0c"
REVISION="1"
STATUS_HAIKU="broken"
DEPEND=""
BUILD {
cd cdrdao-1.2.3
libtoolize --force --copy --install
aclocal
autoconf
automake
./configure --prefix=/boot/common
make
}
INSTALL {
cd cdrdao-1.2.3
make install
}

View File

@@ -0,0 +1,42 @@
diff -urN cdrdao-1.2.3/configure.ac cdrdao-1.2.3-haiku/configure.ac
--- cdrdao-1.2.3/configure.ac 2009-09-02 12:29:35.004194304 +0000
+++ cdrdao-1.2.3-haiku/configure.ac 2010-09-15 14:44:31.406061056 +0000
@@ -8,7 +8,7 @@
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
AC_CANONICAL_HOST
-AM_GCONF_SOURCE_2
+dnlAM_GCONF_SOURCE_2
AC_ARG_WITH(pcctsbin,[ --with-pcctsbin=dir set directory of PCCTS parser generator executables],[pcctsbin=$withval],[pcctsbin=default])
@@ -86,12 +86,17 @@
AC_CHECK_LIB(posix4,sched_setscheduler,[use_libposix4=yes;AC_DEFINE(HAVE_SCHED_SETSCHEDULER,1,"")]))
AC_CHECK_LIB(socket,socket,[use_libsocket=yes])
+AC_CHECK_LIB(network,socket,[use_libnetwork=yes])
AC_CHECK_LIB(socket,connect,[use_libsocket=yes])
dnl Add 'libsocket' if required
if test "$use_libsocket" = yes; then
LIBS="$LIBS -lsocket"
fi
+if test "$use_libnetwork" = yes; then
+ LIBS="$LIBS -lnetwork"
+fi
+
dnl Check if libposix4 must be linked
if test "$use_libposix4" = yes; then
@@ -282,6 +287,11 @@
scsilib_objs="ScsiIf-win.o"
;;
+ *-haiku*)
+ scsilib_libs="$scsilib_libs -lscg -lschily"
+ scsilib_objs="ScsiIf-lib.o"
+ ;;
+
*)
AC_MSG_ERROR([No native interface for operating system $host_os, use --with-libscg])
;;