~ubuntu-branches/ubuntu/precise/libraw/precise-security

« back to all changes in this revision

Viewing changes to debian/patches/01_install_location.patch

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-05-12 12:32:57 UTC
  • Revision ID: james.westby@ubuntu.com-20100512123257-bdtlkhlsn7p3oirv
Tags: 0.9.0-0ubuntu1
* Initial release
* debian/patches/01_install_location.patch:
  - Don't install in /usr/local

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Description: add some description
 
2
## Origin/Author: add some origin or author
 
3
## Bug: bug URL
 
4
Index: libraw-0.9.0/Makefile
 
5
===================================================================
 
6
--- libraw-0.9.0.orig/Makefile  2010-05-12 12:53:51.963216648 +0200
 
7
+++ libraw-0.9.0/Makefile       2010-05-12 12:53:50.243280310 +0200
 
8
@@ -18,11 +18,8 @@
 
9
 all_samples: bin/raw-identify bin/simple_dcraw  bin/dcraw_emu bin/dcraw_half bin/half_mt bin/mem_image bin/unprocessed_raw bin/4channels
 
10
 
 
11
 install: library
 
12
-       @if [ -d /usr/local/include ] ; then cp -R libraw /usr/local/include/ ; else echo 'no /usr/local/include' ; fi
 
13
-       @if [ -d /usr/local/lib ] ; then cp lib/libraw.a lib/libraw_r.a /usr/local/lib/ ; else echo 'no /usr/local/lib' ; fi
 
14
 
 
15
 install-binaries: all_samples
 
16
-       @if [ -d /usr/local/bin ] ; then cp bin/[a-z]* /usr/local/bin/ ; else echo 'no /usr/local/bin' ; fi
 
17
 
 
18
 
 
19
 #binaries