source: trunk/Install/deb/debian/rules

Last change on this file was 637, checked in by chronos, 5 days ago
  • Added: AI upscaled C-evo icon to 1024x1024 resolution.
  • Modified: Updated packaging files.
  • Property svn:executable set to *
File size: 1.3 KB
Line 
1#!/usr/bin/make -f
2
3# Set temporary HOME for lazarus primary config directory
4export HOME=$(CURDIR)/tmphome
5
6ROOT = $(CURDIR)/debian/c-evo
7
8override_dh_auto_clean:
9 $(RM) -r lib
10 $(RM) lib c-evo
11
12override_dh_auto_build:
13 lazbuild --build-mode=Release AI/StdAI/StdAI.lpi
14 mv AI/StdAI/libstdai.so AI/StdAI/libstdai-$(DEB_HOST_ARCH).so
15 lazbuild --build-mode=Release Integrated.lpi
16
17override_dh_auto_install:
18 install -d -m 755 $(ROOT)/usr/share/c-evo
19 install -s -m 755 c-evo $(ROOT)/usr/share/c-evo
20 install -d -m 755 $(ROOT)/usr/bin
21 install -m 755 debian/c-evo.sh $(ROOT)/usr/bin/c-evo
22 install -d -m 755 $(ROOT)/usr/share/applications
23 install -m 755 Install/deb/c-evo.desktop $(ROOT)/usr/share/applications
24 install -d -m 755 $(ROOT)/usr/share/mime/packages
25 install -m 644 Install/deb/c-evo.xml $(ROOT)/usr/share/mime/packages
26 install -d -m 755 $(ROOT)/usr/share/pixmaps
27 install -m 644 Graphics/c-evo_256x256.png $(ROOT)/usr/share/pixmaps/c-evo.png
28 install -m 644 Graphics/c-evo_256x256.png $(ROOT)/usr/share/pixmaps/application-cevo.png
29 install -m 644 Graphics/c-evo_256x256.png $(ROOT)/usr/share/pixmaps/application-cevomap.png
30 install -d -m 755 $(ROOT)/usr/share/c-evo/AI/StdAI
31 install -m 644 AI/StdAI/libstdai-$(DEB_HOST_ARCH).so $(ROOT)/usr/share/c-evo/AI/StdAI
32
33%:
34 dh $@
Note: See TracBrowser for help on using the repository browser.