source: lsf/trunk/fuentes/debian/rules @ 88

Last change on this file since 88 was 88, checked in by jrpelegrina, 5 years ago

First relase to xenial

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1#!/usr/bin/make -f
2
3LLXPATH=$(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)
4
5%:
6        dh $@
7
8
9
10override_dh_install:
11       
12
13
14ifeq ($(DEB_BUILD_ARCH),amd64)
15        @echo "Using amd64 setup" 
16               
17        mkdir -p pc/usr/lib/x86_64-linux-gnu/pkgconfig
18        cp lsf-1.0-amd64.pc pc/usr/lib/x86_64-linux-gnu/pkgconfig/lsf-1.0.pc   
19       
20        mkdir -p install/usr/lib/x86_64-linux-gnu
21        cp $(LLXPATH)/src/liblsf-1.0.so install/usr/lib/x86_64-linux-gnu
22
23        cp lsf-1.0-n4d-amd64.pc pc/usr/lib/x86_64-linux-gnu/pkgconfig/lsf-1.0-n4d.pc   
24       
25        mkdir -p install-n4d/usr/lib/x86_64-linux-gnu
26        cp $(LLXPATH)/src/liblsf-1.0-n4d.so install-n4d/usr/lib/x86_64-linux-gnu
27       
28endif
29
30ifeq ($(DEB_BUILD_ARCH),i386)
31        @echo "Using i386 setup" 
32       
33        mkdir -p pc/usr/lib/i386-linux-gnu/pkgconfig
34        cp lsf-1.0-i386.pc pc/usr/lib/i386-linux-gnu/pkgconfig/lsf-1.0.pc       
35       
36        mkdir -p install/usr/lib/i386-linux-gnu
37        cp $(LLXPATH)/src/liblsf-1.0.so install/usr/lib/i386-linux-gnu
38       
39        cp lsf-1.0-n4d-i386.pc pc/usr/lib/i386-linux-gnu/pkgconfig/lsf-1.0-n4d.pc       
40       
41        mkdir -p install-n4d/usr/lib/i386-linux-gnu
42        cp $(LLXPATH)/src/liblsf-1.0-n4d.so install-n4d/usr/lib/i386-linux-gnu
43
44endif
45
46        dh_install
Note: See TracBrowser for help on using the repository browser.