Projects
Multimedia
rsound
rsound-lib64.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rsound-lib64.patch of Package rsound
--- a/src/Makefile +++ b/src/Makefile @@ -17,7 +17,7 @@ endif TARGET_LIB_OBJ = librsound/librsound.o librsound/buffer.o TARGET_LIB_OBJ_STATIC = librsound/librsound.a -PKGCONF_PATH = $(PREFIX)/lib/pkgconfig/rsound.pc +PKGCONF_PATH = $(libdir)/pkgconfig TARGET_SERVER_LIBS = -lpthread TARGET_LIB_LIBS = -lpthread @@ -164,16 +164,16 @@ install: install-lib install-server inst install-lib: $(TARGET_LIB) $(TARGET_LIB_OBJ_STATIC) install-pkgconf - mkdir -p $(DESTDIR)$(PREFIX)/{lib/pkgconfig,include,share/man/man1} - install -m755 $(TARGET_LIB) $(DESTDIR)$(PREFIX)/lib + mkdir -vp $(DESTDIR)$(PKGCONF_PATH) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir) $(DESTDIR)$(mandir)/man1 + install -m755 $(TARGET_LIB) $(DESTDIR)$(libdir) ifneq ($(PLATFORM),OSX) - cp -P librsound/librsound.so librsound/librsound.so.3 $(DESTDIR)$(PREFIX)/lib + cp -P librsound/librsound.so librsound/librsound.so.3 $(DESTDIR)$(libdir) endif - install -m644 $(TARGET_LIB_OBJ_STATIC) $(DESTDIR)$(PREFIX)/lib - install -m644 librsound/rsound.h $(DESTDIR)$(PREFIX)/include - install -m644 rsound.pc $(DESTDIR)$(PREFIX)/lib/pkgconfig - install -m644 ../doc/rsd.1 $(DESTDIR)$(PREFIX)/share/man/man1 - install -m644 ../doc/rsdplay.1 $(DESTDIR)$(PREFIX)/share/man/man1 + install -m644 $(TARGET_LIB_OBJ_STATIC) $(DESTDIR)$(libdir) + install -m644 librsound/rsound.h $(DESTDIR)$(includedir) + install -m644 rsound.pc $(DESTDIR)$(PKGCONF_PATH) + install -m644 ../doc/rsd.1 $(DESTDIR)$(mandir)/man1 + install -m644 ../doc/rsdplay.1 $(DESTDIR)$(mandir)/man1 install-server: $(TARGET_SERVER) mkdir -p $(DESTDIR)$(PREFIX)/bin @@ -186,15 +186,15 @@ install-client: $(TARGET_CLIENT) install-pkgconf: @echo "prefix=$(PREFIX)" > rsound.pc @echo "exec_prefix=\$${prefix}" >> rsound.pc - @echo "libdir=\$${prefix}/lib" >> rsound.pc - @echo "includedir=\$${prefix}/include" >> rsound.pc + @echo "libdir=$(libdir)" >> rsound.pc + @echo "includedir=$(includedir)" >> rsound.pc @echo "" >> rsound.pc @echo "Name: RSound" >> rsound.pc @echo "Description: An audio library designed for seamless networked transfer of audio streams." >> rsound.pc @echo "Requires:" >> rsound.pc @echo "Version: $(RSD_VERSION)" >> rsound.pc - @echo "Libs: -L\$${prefix}/lib -lrsound" >> rsound.pc - @echo "Cflags: -I\$${prefix}/include" >> rsound.pc + @echo "Libs: -L$(libdir) -lrsound" >> rsound.pc + @echo "Cflags: -I$(includedir)" >> rsound.pc uninstall: rm -rf $(PREFIX)/bin/rsd
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.