1 |
root |
1.1 |
use ExtUtils::MakeMaker; |
2 |
|
|
|
3 |
root |
1.2 |
print <<EOF; |
4 |
|
|
|
5 |
|
|
*** microsoft compatibility forced us to only support manual configuration |
6 |
|
|
*** by editing Makefile.PL. complain to microsoft. |
7 |
|
|
|
8 |
|
|
EOF |
9 |
|
|
|
10 |
root |
1.17 |
# sdl-config |
11 |
|
|
# -lSDL_image |
12 |
|
|
# pkg-config pangoft2 |
13 |
|
|
# freetype-config |
14 |
|
|
|
15 |
root |
1.1 |
WriteMakefile( |
16 |
|
|
dist => { |
17 |
root |
1.13 |
PREOP => 'pod2text CFClient.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', |
18 |
root |
1.1 |
COMPRESS => 'gzip -9v', |
19 |
|
|
SUFFIX => '.gz', |
20 |
|
|
}, |
21 |
root |
1.13 |
NAME => "CFClient", |
22 |
root |
1.10 |
INC => '-I/usr/include/SDL -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2', |
23 |
root |
1.17 |
LIBS => ["-lSDL -lSDL_image -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lz"], |
24 |
root |
1.2 |
EXE_FILES => [qw(bin/pclient)], |
25 |
root |
1.13 |
VERSION_FROM => "CFClient.pm", |
26 |
elmex |
1.7 |
PM => { |
27 |
root |
1.13 |
'CFClient.pm' => '$(INST_LIBDIR)/CFClient.pm', |
28 |
root |
1.14 |
'CFClient/UI.pm' => '$(INST_LIBDIR)/CFClient/UI.pm', |
29 |
root |
1.13 |
'resources/uifont.ttf' => '$(INST_LIBDIR)/CFClient/resources/uifont.ttf', |
30 |
|
|
'resources/uifontb.ttf' => '$(INST_LIBDIR)/CFClient/resources/uifontb.ttf', |
31 |
|
|
'resources/uifonti.ttf' => '$(INST_LIBDIR)/CFClient/resources/uifonti.ttf', |
32 |
|
|
'resources/uifontbi.ttf' => '$(INST_LIBDIR)/CFClient/resources/uifontbi.ttf', |
33 |
|
|
'resources/d1_bg.png' => '$(INST_LIBDIR)/CFClient/resources/d1_bg.png', |
34 |
|
|
'resources/d1_border_top.png' => '$(INST_LIBDIR)/CFClient/resources/d1_border_top.png', |
35 |
|
|
'resources/d1_border_bottom.png' => '$(INST_LIBDIR)/CFClient/resources/d1_border_bottom.png', |
36 |
|
|
'resources/d1_border_left.png' => '$(INST_LIBDIR)/CFClient/resources/d1_border_left.png', |
37 |
|
|
'resources/d1_border_right.png' => '$(INST_LIBDIR)/CFClient/resources/d1_border_right.png', |
38 |
elmex |
1.18 |
'resources/b1_button_active.png' => '$(INST_LIBDIR)/CFClient/resources/b1_button_active.png', |
39 |
|
|
'resources/s1_slider.png' => '$(INST_LIBDIR)/CFClient/resources/s1_slider.png', |
40 |
|
|
'resources/s1_slider_bg.png' => '$(INST_LIBDIR)/CFClient/resources/s1_slider_bg.png', |
41 |
elmex |
1.19 |
'resources/c1_checkbox_bg.png' => '$(INST_LIBDIR)/CFClient/resources/c1_checkbox_bg.png', |
42 |
|
|
'resources/c1_checkbox_active.png' => '$(INST_LIBDIR)/CFClient/resources/c1_checkbox_active.png', |
43 |
elmex |
1.7 |
} |
44 |
root |
1.1 |
); |