Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37559310
en ru br
ALT Linux repos
S:4.6.1-alt1
5.0: 4.3.1-alt2
4.1: 4.3.0-alt3

Group :: Sound
RPM: stk

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: stk-01_makefile.patch
Download


diff -ruN stk-4.2.0-old/Makefile stk-4.2.0/Makefile
--- stk-4.2.0-old/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ stk-4.2.0/Makefile	2005-09-15 09:10:51.000000000 +0200
@@ -0,0 +1,9 @@
+
+
+all:
+	make -C src
+	make -C projects/demo
+
+install:
+	make -C src install
+#	make -C projects/demo install
diff -ruN stk-4.2.0-old/src/Makefile.in stk-4.2.0/src/Makefile.in
--- stk-4.2.0-old/src/Makefile.in	2004-09-21 21:12:29.000000000 +0200
+++ stk-4.2.0/src/Makefile.in	2005-09-15 09:11:21.000000000 +0200
@@ -66,3 +66,25 @@
 clean : 
 	-rm $(OBJECT_PATH)/*.o
 	-rm $(LIBRARY)
+
+SHLIB = libstk.so
+MAJ = 0
+MIN = 4.1.3
+                                                                                                                    
+shlibs: $(LIBRARY)
+	g++ -fPIC -shared -Wl,-soname=$(SHLIB).$(MAJ) -o libstk.so.$(MAJ).$(MIN) Release/*.o -lc -lasound -ljack
+	-ln -s $(SHLIB).$(MAJ).$(MIN) $(SHLIB).$(MAJ)
+	-ln -s $(SHLIB).$(MAJ).$(MIN) $(SHLIB)
+	
+install-headers:
+	install -d $(DESTDIR)/usr/include/stk
+	cp -r ../include/*.h $(DESTDIR)/usr/include/stk
+
+install: shlibs install-headers
+	install -d  $(DESTDIR)/usr/share/stk
+	install -d $(DESTDIR)/usr/lib
+	install -m 644 $(LIBRARY) $(DESTDIR)/usr/lib
+	install -m 644 $(SHLIB).$(MAJ).$(MIN) $(DESTDIR)/usr/lib
+	ln -s $(SHLIB).$(MAJ).$(MIN) $(DESTDIR)/usr/lib/$(SHLIB).$(MAJ)
+	ln -s $(SHLIB).$(MAJ).$(MIN) $(DESTDIR)/usr/lib/$(SHLIB)
+
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin