cdrdao: adopted from opt
This commit is contained in:
parent
0c976539f8
commit
aab4145e1a
13
cdrdao/.footprint
Normal file
13
cdrdao/.footprint
Normal file
@ -0,0 +1,13 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/cdrdao
|
||||
-rwxr-xr-x root/root usr/bin/cue2toc
|
||||
-rwxr-xr-x root/root usr/bin/toc2cddb
|
||||
-rwxr-xr-x root/root usr/bin/toc2cue
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-rw-r--r-- root/root usr/man/man1/cdrdao.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/cue2toc.1.gz
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/cdrdao/
|
||||
-rw-r--r-- root/root usr/share/cdrdao/drivers
|
2
cdrdao/.md5sum
Normal file
2
cdrdao/.md5sum
Normal file
@ -0,0 +1,2 @@
|
||||
f0cbf36907406cb4f4c568f9e6669a34 cdrdao-1.2.2.tar.bz2
|
||||
37018330b71644d25a9e9c8ebc3c90cd cdrdao-gcc.patch
|
24
cdrdao/Pkgfile
Normal file
24
cdrdao/Pkgfile
Normal file
@ -0,0 +1,24 @@
|
||||
# Description: CD recording in DAO mode, for example VCDs.
|
||||
# URL: http://cdrdao.sourceforge.net/
|
||||
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
||||
# Packager: Michael Ablassmeier, michael dot ablassmeier at holzkirchen dot by dot aok dot de
|
||||
# Depends on:
|
||||
|
||||
name=cdrdao
|
||||
version=1.2.2
|
||||
release=3
|
||||
source=(http://dl.sourceforge.net/sourceforge/cdrdao/cdrdao-$version.tar.bz2 \
|
||||
$name-gcc.patch)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
patch -p 1 -i $SRC/$name-gcc.patch
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--without-lame
|
||||
|
||||
make
|
||||
install -d $PKG/usr
|
||||
make prefix=$PKG/usr install
|
||||
}
|
46
cdrdao/cdrdao-gcc.patch
Normal file
46
cdrdao/cdrdao-gcc.patch
Normal file
@ -0,0 +1,46 @@
|
||||
diff -Nru cdrdao-1.2.2.orig/trackdb/FormatConverter.cc cdrdao-1.2.2/trackdb/FormatConverter.cc
|
||||
--- cdrdao-1.2.2.orig/trackdb/FormatConverter.cc 2008-11-23 17:20:52.036880285 +0100
|
||||
+++ cdrdao-1.2.2/trackdb/FormatConverter.cc 2008-11-23 17:25:07.840291445 +0100
|
||||
@@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
#ifdef HAVE_AO
|
||||
#include <ao/ao.h>
|
||||
#endif
|
||||
|
||||
diff -Nru cdrdao-1.2.2.orig/trackdb/TempFileManager.cc cdrdao-1.2.2/trackdb/TempFileManager.cc
|
||||
--- cdrdao-1.2.2.orig/trackdb/TempFileManager.cc 2008-11-23 17:20:52.036880285 +0100
|
||||
+++ cdrdao-1.2.2/trackdb/TempFileManager.cc 2008-11-23 17:25:23.173215341 +0100
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
+#include <string.h>
|
||||
|
||||
#define DEFAULT_TEMP_PATH "/tmp/"
|
||||
|
||||
diff -Nru cdrdao-1.2.2.orig/trackdb/FormatMp3.cc cdrdao-1.2.2/trackdb/FormatMp3.cc
|
||||
--- cdrdao-1.2.2.orig/trackdb/FormatMp3.cc 2008-11-28 15:04:06.000000000 +0100
|
||||
+++ cdrdao-1.2.2/trackdb/FormatMp3.cc 2008-11-28 15:05:24.000000000 +0100
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
+#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
diff -Nru cdrdao-1.2.2.orig/trackdb/FormatOgg.cc cdrdao-1.2.2/trackdb/FormatOgg.cc
|
||||
--- cdrdao-1.2.2.orig/trackdb/FormatOgg.cc 2008-11-28 15:04:06.000000000 +0100
|
||||
+++ cdrdao-1.2.2/trackdb/FormatOgg.cc 2008-11-28 15:18:36.000000000 +0100
|
||||
@@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
|
||||
#include "util.h"
|
||||
#include "FormatOgg.h"
|
Loading…
Reference in New Issue
Block a user