… | |
… | |
26 | *** microsoft compatibility forced us to only support manual configuration |
26 | *** microsoft compatibility forced us to only support manual configuration |
27 | *** by editing Makefile.PL. complain to microsoft. |
27 | *** by editing Makefile.PL. complain to microsoft. |
28 | |
28 | |
29 | EOF |
29 | EOF |
30 | $INC = "-I/gtk/include -I/gtk/include/pango-1.0 -I/gtk/include/glib-2.0 -I/gtk/lib/glib-2.0/include/ -I/gtk/include/freetype2"; |
30 | $INC = "-I/gtk/include -I/gtk/include/pango-1.0 -I/gtk/include/glib-2.0 -I/gtk/lib/glib-2.0/include/ -I/gtk/include/freetype2"; |
31 | $LIBS = "-L/gtk/lib -lSDL -lSDL_image -lSDL_mixer -lpango-1.0 -lpangoft2-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lfreetype -lfontconfig -lopengl32", |
31 | $LIBS = "-L/gtk/lib -lSDL -lSDL_image -lSDL_mixer -lpango-1.0 -lpangoft2-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lfreetype -lfontconfig -lopengl32 -lwininet", |
32 | } else { |
32 | } else { |
33 | $INC = join " ", qx<sdl-config --cflags>, qx<pkg-config pangoft2 --cflags>; |
33 | $INC = join " ", qx<sdl-config --cflags>, qx<pkg-config pangoft2 --cflags>; |
34 | $LIBS = join " ", qx<sdl-config --libs>, "-lSDL_image -lSDL_mixer", qx<pkg-config pangoft2 --libs>, "-lGL"; |
34 | $LIBS = join " ", qx<sdl-config --libs>, "-lSDL_image -lSDL_mixer", qx<pkg-config pangoft2 --libs>, "-lGL"; |
35 | |
35 | |
36 | $INC =~ s/\n/ /g for $INC, $LIBS; |
36 | $INC =~ s/\n/ /g for $INC, $LIBS; |
… | |
… | |
47 | LIBS => [$LIBS], |
47 | LIBS => [$LIBS], |
48 | EXE_FILES => [qw(bin/cfplus)], |
48 | EXE_FILES => [qw(bin/cfplus)], |
49 | VERSION_FROM => "CFPlus.pm", |
49 | VERSION_FROM => "CFPlus.pm", |
50 | PREREQ_PM => { |
50 | PREREQ_PM => { |
51 | BerkeleyDB => 0.27, |
51 | BerkeleyDB => 0.27, |
52 | Crossfire => 0.8, |
52 | Crossfire => 0.95, |
53 | Time::HiRes => 0, |
53 | Time::HiRes => 0, |
54 | Event => 1.01, |
54 | Event => 1.07, |
55 | AnyEvent => 0, |
55 | AnyEvent => 0, |
56 | Compress::LZF => 1.6, |
56 | Compress::LZF => 1.6, |
57 | Pod::POM => 0.15, |
57 | Pod::POM => 0.15, |
58 | }, |
58 | }, |
59 | depend => { |
59 | depend => { |