]> git.pld-linux.org Git - packages/gpac.git/blob - gpac-install.patch
- up to 0.4.5
[packages/gpac.git] / gpac-install.patch
1 --- gpac/Makefile.orig  2008-10-23 17:40:38.000000000 +0200
2 +++ gpac/Makefile       2011-02-05 07:18:41.996686361 +0100
3 @@ -59,9 +59,6 @@
4  ifeq ($(CONFIG_WIN32),yes)
5         install $(INSTFLAGS) -m 755 bin/gcc/libgpac.dll $(prefix)/$(libdir)
6  else
7 -ifeq ($(DEBUGBUILD),no)
8 -       $(STRIP) bin/gcc/libgpac.$(DYN_LIB_SUFFIX)
9 -endif
10  ifeq ($(CONFIG_DARWIN),yes)
11         install -m 755 bin/gcc/libgpac.$(DYN_LIB_SUFFIX) $(DESTDIR)$(prefix)/$(libdir)/libgpac-$(VERSION).$(DYN_LIB_SUFFIX)
12         ln -sf libgpac-$(VERSION).$(DYN_LIB_SUFFIX) $(DESTDIR)$(prefix)/$(libdir)/libgpac.$(DYN_LIB_SUFFIX)
13 --- gpac/applications/osmozilla/Makefile.orig   2008-11-24 09:54:12.000000000 +0100
14 +++ gpac/applications/osmozilla/Makefile        2011-02-05 07:20:46.968690551 +0100
15 @@ -6,10 +6,6 @@
16  USER_NAME=root
17  else
18  USER_NAME=$(shell whoami)
19 -ifeq ($(USER_NAME), root)
20 -else
21 -MOZILLA_DIR=local
22 -endif
23  endif
24  
25  CFLAGS=$(CPPFLAGS) $(XUL_CFLAGS) -I$(SRC_PATH)/include
26 @@ -75,19 +71,8 @@
27  endif
28  
29  install: 
30 -ifeq ($(MOZILLA_DIR), local)
31 -ifeq ($(USER_NAME), root)
32 -       @echo "*** Root cannot install local mozilla plugins! ***"
33 -       @echo "*** Exit root mode and reinstall mozilla plugin! ***"
34 -else
35 -       $(MAKE) $(LIB)
36 -       install -D -m 755 ../../bin/gcc/$(LIB) "$(HOME)/.mozilla/plugins/$(LIB)"
37 -       install -D -m 755 ../../bin/gcc/nposmozilla.xpt "$(HOME)/.mozilla/components/nposmozilla.xpt"
38 -endif
39 -else
40 -       install -D -m 755 ../../bin/gcc/$(LIB) "$(MOZILLA_DIR)/components/$(LIB)"
41 -       install -D -m 755 ../../bin/gcc/nposmozilla.xpt "$(MOZILLA_DIR)/components/nposmozilla.xpt"
42 -endif
43 +       install -D -m 755 ../../bin/gcc/$(LIB) "$(MOZILLA_DIR)/$(LIB)"
44 +       install -D -m 755 ../../bin/gcc/nposmozilla.xpt "$(MOZILLA_DIR)/nposmozilla.xpt"
45  
46  uninstall:
47  ifeq ($(MOZILLA_DIR), local)
This page took 0.056914 seconds and 3 git commands to generate.