summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libclalsadrv/files')
-rw-r--r--media-libs/libclalsadrv/files/digest-libclalsadrv-1.0.11
-rw-r--r--media-libs/libclalsadrv/files/libclalsadrv-1.0.1-makefile.patch26
2 files changed, 27 insertions, 0 deletions
diff --git a/media-libs/libclalsadrv/files/digest-libclalsadrv-1.0.1 b/media-libs/libclalsadrv/files/digest-libclalsadrv-1.0.1
new file mode 100644
index 000000000000..9f2260fa48e4
--- /dev/null
+++ b/media-libs/libclalsadrv/files/digest-libclalsadrv-1.0.1
@@ -0,0 +1 @@
+MD5 878c062ef1cd2d2d6f84babec5f6d58d clalsadrv-1.0.1.tar.bz2 12489
diff --git a/media-libs/libclalsadrv/files/libclalsadrv-1.0.1-makefile.patch b/media-libs/libclalsadrv/files/libclalsadrv-1.0.1-makefile.patch
new file mode 100644
index 000000000000..57ee29a20748
--- /dev/null
+++ b/media-libs/libclalsadrv/files/libclalsadrv-1.0.1-makefile.patch
@@ -0,0 +1,26 @@
+--- clalsadrv-1.0.1.orig/Makefile 2004-08-24 01:22:35.904600424 +0200
++++ clalsadrv-1.0.1/Makefile 2004-08-24 01:25:40.084600808 +0200
+@@ -3,10 +3,8 @@
+ LDLIBS += -lclalsadrv -lclthreads -lrt
+
+
+-#CLALSADRV_LIBDIR = /usr/local/lib
+-#CLALSADRV_INCDIR = /usr/local/include
+-CLALSADRV_LIBDIR = /usr/lib
+-CLALSADRV_INCDIR = /usr/include
++CLALSADRV_LIBDIR = ${DESTDIR}/usr/lib
++CLALSADRV_INCDIR = ${DESTDIR}/usr/include
+ CLALSADRV_SO = libclalsadrv.so
+ CLALSADRV_MAJ = $(CLALSADRV_SO).1
+ CLALSADRV_MIN = $(CLALSADRV_MAJ).0.1
+@@ -20,8 +18,8 @@
+
+
+ install: $(CLALSADRV_MIN)
+- cp -f $(CLALSADRV_H) $(CLALSADRV_INCDIR)
+- cp -f $(CLALSADRV_MIN) $(CLALSADRV_LIBDIR)
++ install -D $(CLALSADRV_H) $(CLALSADRV_INCDIR)/$(CLALSADRV_H)
++ install -D $(CLALSADRV_MIN) $(CLALSADRV_LIBDIR)/$(CLALSADRV_MIN)
+ /sbin/ldconfig -n $(CLALSADRV_LIBDIR)
+ ln -sf $(CLALSADRV_MIN) $(CLALSADRV_LIBDIR)/$(CLALSADRV_SO)
+