[SCM] zita-at1/master: Create the directory /usr/bin before installing the executable. Debian-specific: remove suffix from libraries path, set $PREFIX to /usr.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Tue Nov 9 11:11:14 UTC 2010


The following commit has been merged in the master branch:
commit b9a87212d1be278a2010ac89848446f9274a9405
Author: Alessio Treglia <alessio at debian.org>
Date:   Tue Nov 9 12:10:17 2010 +0100

    Create the directory /usr/bin before installing the executable. Debian-specific: remove suffix from libraries path, set $PREFIX to /usr.

diff --git a/debian/patches/01-makefile.patch b/debian/patches/01-makefile.patch
new file mode 100644
index 0000000..f7c9c6a
--- /dev/null
+++ b/debian/patches/01-makefile.patch
@@ -0,0 +1,28 @@
+Description: Create the directory /usr/bin before installing the executable.
+ Debian-specific: remove suffix from libraries path, set $PREFIX to /usr.
+Author: Alessio Treglia <alessio at debian.org>
+Forwarded: no
+---
+ source/Makefile |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- zita-at1.orig/source/Makefile
++++ zita-at1/source/Makefile
+@@ -19,8 +19,7 @@
+ # --------------------------------------------------------------------------
+ 
+ 
+-PREFIX = /usr/local
+-SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
++PREFIX = /usr
+ LIBDIR = lib$(SUFFIX)
+ SHARED = $(PREFIX)/share/zita-at1
+ VERSION = 0.1.1
+@@ -43,6 +42,7 @@ $(ZITA-AT1_O):
+ 
+ 
+ install:	all
++	install -d $(DESTDIR)$(PREFIX)/bin
+ 	install -m 755 zita-at1 $(DESTDIR)$(PREFIX)/bin
+ 	install -d $(DESTDIR)$(SHARED)
+ 	rm -rf $(DESTDIR)$(SHARED)/*
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d3b72df
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-makefile.patch

-- 
zita-at1 packaging



More information about the pkg-multimedia-commits mailing list