summaryrefslogtreecommitdiff
path: root/packages/jaaa/files
diff options
context:
space:
mode:
Diffstat (limited to 'packages/jaaa/files')
-rw-r--r--packages/jaaa/files/.mtn2git_empty0
-rw-r--r--packages/jaaa/files/clalsadrv-Makefile.patch29
-rw-r--r--packages/jaaa/files/clthreads-Makefile.patch29
-rw-r--r--packages/jaaa/files/clxclient-Makefile.patch29
-rw-r--r--packages/jaaa/files/jaaa-Makefile.patch36
5 files changed, 123 insertions, 0 deletions
diff --git a/packages/jaaa/files/.mtn2git_empty b/packages/jaaa/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/jaaa/files/.mtn2git_empty
diff --git a/packages/jaaa/files/clalsadrv-Makefile.patch b/packages/jaaa/files/clalsadrv-Makefile.patch
new file mode 100644
index 0000000000..cd83154296
--- /dev/null
+++ b/packages/jaaa/files/clalsadrv-Makefile.patch
@@ -0,0 +1,29 @@
+--- clalsadrv.orig/Makefile 2008-05-10 12:13:03.000000000 -0700
++++ clalsadrv/Makefile 2008-05-10 12:13:48.000000000 -0700
+@@ -17,9 +17,9 @@
+
+ # Modify as required.
+ #
+-PREFIX = /usr
++PREFIX = ${DESTDIR}/usr
+ SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
+-LIBDIR = lib$(SUFFIX)
++LIBDIR = lib
+
+
+ MAJVERS = 1
+@@ -42,12 +42,12 @@
+
+
+ $(CLALSADRV_MIN): $(CLALSADRV_O)
+- g++ -shared $(LDFLAGS) -Wl,-soname,$(CLALSADRV_MAJ) -o $(CLALSADRV_MIN) $(CLALSADRV_O) $(CLALSADRV_DEP)
++ ${CXX} -shared $(LDFLAGS) -Wl,-soname,$(CLALSADRV_MAJ) -o $(CLALSADRV_MIN) $(CLALSADRV_O) $(CLALSADRV_DEP)
+
+
+ install: $(CLALSADRV_MIN)
+ /usr/bin/install -d $(PREFIX)/$(LIBDIR)
+- /usr/bin/install -m 644 $(CLALSADRV_H) $(PREFIX)/include
++ /usr/bin/install -D -m 644 $(CLALSADRV_H) $(PREFIX)/include/$(CLALSADRV_H)
+ /usr/bin/install -m 755 $(CLALSADRV_MIN) $(PREFIX)/$(LIBDIR)
+ /sbin/ldconfig -n $(PREFIX)/$(LIBDIR)
+ ln -sf $(CLALSADRV_MIN) $(PREFIX)/$(LIBDIR)/$(CLALSADRV_SO)
diff --git a/packages/jaaa/files/clthreads-Makefile.patch b/packages/jaaa/files/clthreads-Makefile.patch
new file mode 100644
index 0000000000..4e939bcee6
--- /dev/null
+++ b/packages/jaaa/files/clthreads-Makefile.patch
@@ -0,0 +1,29 @@
+--- clthreads-2.4.0.orig/Makefile 2008-05-10 11:49:46.000000000 -0700
++++ clthreads-2.4.0/Makefile 2008-05-10 11:49:49.000000000 -0700
+@@ -17,9 +17,9 @@
+
+ # Modify as required.
+ #
+-PREFIX = /usr/local
++PREFIX = ${DESTDIR}/usr
+ SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
+-LIBDIR = lib$(SUFFIX)
++LIBDIR = lib
+
+
+ MAJVERS = 2
+@@ -42,12 +42,12 @@
+
+
+ $(CLTHREADS_MIN): $(CLTHREADS_O)
+- g++ -shared $(LDFLAGS) -Wl,-soname,$(CLTHREADS_MAJ) -o $(CLTHREADS_MIN) $(CLTHREADS_O) $(CLTHREADS_DEP)
++ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(CLTHREADS_MAJ) -o $(CLTHREADS_MIN) $(CLTHREADS_O) $(CLTHREADS_DEP)
+
+
+ install: $(CLTHREADS_MIN)
+ /usr/bin/install -d $(PREFIX)/$(LIBDIR)
+- /usr/bin/install -m 644 $(CLTHREADS_H) $(PREFIX)/include
++ /usr/bin/install -D -m 644 $(CLTHREADS_H) $(PREFIX)/include/$(CLTHREADS_H)
+ /usr/bin/install -m 755 $(CLTHREADS_MIN) $(PREFIX)/$(LIBDIR)
+ /sbin/ldconfig -n $(PREFIX)/$(LIBDIR)
+ ln -sf $(CLTHREADS_MIN) $(PREFIX)/$(LIBDIR)/$(CLTHREADS_SO)
diff --git a/packages/jaaa/files/clxclient-Makefile.patch b/packages/jaaa/files/clxclient-Makefile.patch
new file mode 100644
index 0000000000..2b4ae24cc1
--- /dev/null
+++ b/packages/jaaa/files/clxclient-Makefile.patch
@@ -0,0 +1,29 @@
+--- clxclient-3.6.1.orig/Makefile 2008-05-10 12:00:47.000000000 -0700
++++ clxclient-3.6.1/Makefile 2008-05-10 12:01:26.000000000 -0700
+@@ -17,9 +17,9 @@
+
+ # Modify as required.
+ #
+-PREFIX = /usr/local
++PREFIX = ${DESTDIR}/usr
+ SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
+-LIBDIR = lib$(SUFFIX)
++LIBDIR = lib
+
+
+ MAJVERS = 3
+@@ -43,12 +43,12 @@
+
+
+ $(CLXCLIENT_MIN): $(CLXCLIENT_O)
+- g++ -shared $(LDFLAGS) -Wl,-soname,$(CLXCLIENT_MAJ) -o $(CLXCLIENT_MIN) $(CLXCLIENT_O) $(CLXCLIENT_DEP)
++ ${CXX} -shared $(LDFLAGS) -Wl,-soname,$(CLXCLIENT_MAJ) -o $(CLXCLIENT_MIN) $(CLXCLIENT_O) $(CLXCLIENT_DEP)
+
+
+ install: $(CLXCLIENT_MIN)
+ /usr/bin/install -d $(PREFIX)/$(LIBDIR)
+- /usr/bin/install -m 644 $(CLXCLIENT_H) $(PREFIX)/include
++ /usr/bin/install -D -m 644 $(CLXCLIENT_H) $(PREFIX)/include/$(CLXCLIENT_H)
+ /usr/bin/install -m 755 $(CLXCLIENT_MIN) $(PREFIX)/$(LIBDIR)
+ /sbin/ldconfig -n $(PREFIX)/$(LIBDIR)
+ ln -sf $(CLXCLIENT_MIN) $(PREFIX)/$(LIBDIR)/$(CLXCLIENT_SO)
diff --git a/packages/jaaa/files/jaaa-Makefile.patch b/packages/jaaa/files/jaaa-Makefile.patch
new file mode 100644
index 0000000000..a09fa72119
--- /dev/null
+++ b/packages/jaaa/files/jaaa-Makefile.patch
@@ -0,0 +1,36 @@
+--- jaaa.orig/Makefile 2007-03-15 07:21:57.000000000 -0700
++++ jaaa/Makefile 2008-05-10 11:03:53.000000000 -0700
+@@ -15,15 +15,15 @@
+ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+
+-PREFIX = /usr
++PREFIX = ${DESTDIR}/usr
+ SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
+-LIBDIR = lib$(SUFFIX)
++LIBDIR = lib
+ VERSION = 0.4.2
+ DISTDIR = jaaa-$(VERSION)
+-CPPFLAGS += -O3 -Wall -DVERSION=\"$(VERSION)\" -DPREFIX=\"$(PREFIX)\" -I/usr/include/freetype2
++CPPFLAGS += -O3 -Wall -DVERSION=\"$(VERSION)\" -DPREFIX=\"$(PREFIX)\" -I${PKG_CONFIG_SYSROOT_DIR}/usr/include/freetype2
+ #CPPFLAGS += -march=pentium4
+
+-LDFLAGS += -L$(PREFIX)/$(LIBDIR) -L/usr/X11R6/$(LIBDIR)
++LDFLAGS += -L$(PREFIX)/$(LIBDIR) -L${PKG_CONFIG_SYSROOT_DIR}/usr/X11R6/$(LIBDIR)
+ LDLIBS += -lclalsadrv -lclthreads -lclxclient -lpthread -lfftw3f -ljack -lasound -lpthread -lXft -lX11 -lrt
+
+ JAAA_H = styles.h spectwin.h audio.h prbsgen.h rngen.h
+@@ -31,11 +31,11 @@
+
+
+ jaaa: $(JAAA_O)
+- g++ $(LDFLAGS) -o jaaa $(JAAA_O) $(LDLIBS)
++ ${CXX} $(LDFLAGS) -o jaaa $(JAAA_O) $(LDLIBS)
+
+
+ install: jaaa
+- /usr/bin/install -m 755 jaaa $(PREFIX)/bin
++ /usr/bin/install -D -m 755 jaaa $(PREFIX)/bin/jaaa
+
+ $(JAAA_O): $(JAAA_H)
+