Search
j0ke.net Open Build Service
>
Projects
>
multimedia
:
SL11
>
libmatroska
> libmatroska-destdir.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libmatroska-destdir.patch of Package libmatroska
--- make/linux/Makefile.orig 2010-08-01 22:38:08.000000000 +0200 +++ make/linux/Makefile 2010-08-01 22:39:17.000000000 +0200 @@ -9,6 +9,8 @@ # 'make DEBUG=yes'. # +DESTDIR= + # Paths # BeOS wants the libs and headers in /boot/home/config ifeq (BeOS,$(shell uname -s)) @@ -153,23 +155,23 @@ endif install_headers: - $(INSTALL) $(INSTALL_DIR_OPTS) -d $(includedir) + $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(includedir) for i in $(INCLUDE_DIR)/*.h; do \ - $(INSTALL) $(INSTALL_OPTS) $$i $(includedir) ; \ + $(INSTALL) $(INSTALL_OPTS) $$i $(DESTDIR)$(includedir) ; \ done - $(INSTALL) $(INSTALL_DIR_OPTS) -d $(includedir)/c + $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(includedir)/c for i in $(INCLUDE_DIR)/c/*.h; do \ - $(INSTALL) $(INSTALL_OPTS) $$i $(includedir)/c ; \ + $(INSTALL) $(INSTALL_OPTS) $$i $(DESTDIR)$(includedir)/c ; \ done install_staticlib: $(LIBRARY) - $(INSTALL) $(INSTALL_DIR_OPTS) -d $(libdir) - $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY) $(libdir) + $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(libdir) + $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY) $(DESTDIR)$(libdir) install_sharedlib: $(LIBRARY_SO) - $(INSTALL) $(INSTALL_DIR_OPTS) -d $(libdir) - $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY_SO_VER) $(libdir) - ln -fs $(LIBRARY_SO_VER) $(libdir)/$(LIBRARY_SO) + $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(libdir) + $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY_SO_VER) $(DESTDIR)$(libdir) + ln -fs $(LIBRARY_SO_VER) $(DESTDIR)$(libdir)/$(LIBRARY_SO) ifneq ($(wildcard .depend),) include .depend