[SCM] opencore-amr packaging branch, master, updated. upstream/0.1.2-10-g7bf1e45

ceros-guest at users.alioth.debian.org ceros-guest at users.alioth.debian.org
Fri Sep 18 20:48:42 UTC 2009


The following commit has been merged in the master branch:
commit 254536e1952c22cf2486de609c507dae1ded49c2
Author: Martin Storsjo <martin at martin.st>
Date:   Tue May 19 16:35:38 2009 +0300

    Don't add executable bit to static libs and headers when installing

diff --git a/amrnb/Makefile b/amrnb/Makefile
index 509273a..87331cb 100644
--- a/amrnb/Makefile
+++ b/amrnb/Makefile
@@ -71,15 +71,15 @@ libopencore-amrnb.a: $(OBJS)
 
 install: libopencore-amrnb.a $(SHLIB)
 	install -d $(DESTDIR)$(PREFIX)/lib
-	install libopencore-amrnb.a $(DESTDIR)$(PREFIX)/lib
+	install -m 644 libopencore-amrnb.a $(DESTDIR)$(PREFIX)/lib
 	install $(SHLIB) $(DESTDIR)$(PREFIX)/lib
 ifneq ($(shell uname), Darwin)
 	ln -s $(SHLIB) $(DESTDIR)$(PREFIX)/lib/$(SONAME)
 	ln -s $(SONAME) $(DESTDIR)$(PREFIX)/lib/libopencore-amrnb.so
 endif
 	install -d $(DESTDIR)$(PREFIX)/include/opencore-amrnb
-	install interf_dec.h $(DESTDIR)$(PREFIX)/include/opencore-amrnb
-	install interf_enc.h $(DESTDIR)$(PREFIX)/include/opencore-amrnb
+	install -m 644 interf_dec.h $(DESTDIR)$(PREFIX)/include/opencore-amrnb
+	install -m 644 interf_enc.h $(DESTDIR)$(PREFIX)/include/opencore-amrnb
 
 clean:
 	rm -f $(SHLIB) libopencore-amrnb.a *.o $(OBJS)
diff --git a/amrwb/Makefile b/amrwb/Makefile
index f0c4216..944fe06 100644
--- a/amrwb/Makefile
+++ b/amrwb/Makefile
@@ -57,15 +57,15 @@ libopencore-amrwb.a: $(OBJS)
 
 install: libopencore-amrwb.a $(SHLIB)
 	install -d $(DESTDIR)$(PREFIX)/lib
-	install libopencore-amrwb.a $(DESTDIR)$(PREFIX)/lib
+	install -m 644 libopencore-amrwb.a $(DESTDIR)$(PREFIX)/lib
 	install $(SHLIB) $(DESTDIR)$(PREFIX)/lib
 ifneq ($(shell uname), Darwin)
 	ln -s $(SHLIB) $(DESTDIR)$(PREFIX)/lib/$(SONAME)
 	ln -s $(SONAME) $(DESTDIR)$(PREFIX)/lib/libopencore-amrwb.so
 endif
 	install -d $(DESTDIR)$(PREFIX)/include/opencore-amrwb
-	install dec_if.h $(DESTDIR)$(PREFIX)/include/opencore-amrwb
-	install if_rom.h $(DESTDIR)$(PREFIX)/include/opencore-amrwb
+	install -m 644 dec_if.h $(DESTDIR)$(PREFIX)/include/opencore-amrwb
+	install -m 644 if_rom.h $(DESTDIR)$(PREFIX)/include/opencore-amrwb
 
 clean:
 	rm -f $(SHLIB) libopencore-amrwb.a *.o $(OBJS)

-- 
opencore-amr packaging



More information about the pkg-multimedia-commits mailing list