Mon, 19 Mar 2007 17:37:17 +0000
Pidgin perl fixes for s/gaim/purple/.
| 14478 | 1 | use 5.006; |
| 2 | use ExtUtils::MakeMaker; | |
| 3 | ||
| 4 | WriteMakefile( | |
|
15899
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15472
diff
changeset
|
5 | 'NAME' => 'Purple::GtkUI', |
| 14629 | 6 | 'VERSION_FROM' => '@srcdir@/GtkUI.pm', # finds $VERSION |
| 14478 | 7 | ($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
| 14629 | 8 | ('ABSTRACT_FROM' => '@srcdir@/GtkUI.pm', # finds $ABSTRACT |
|
15899
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15472
diff
changeset
|
9 | 'AUTHOR' => 'Pidgin <http://pidgin.im/>') : ()), |
| 14478 | 10 | 'DEFINE' => '@DEBUG_CFLAGS@', |
|
15468
eba565166be9
Fix up perl to build against libpurple/pidgin instead of libgaim/gtk.
Ethan Blanton <elb@pidgin.im>
parents:
15435
diff
changeset
|
11 | 'INC' => '-I. -I@srcdir@ -I@top_srcdir@ -I@top_srcdir@/libpurple -I@top_srcdir@/pidgin @GTK_CFLAGS@', |
|
15899
75f0041f72b8
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <datallah@pidgin.im>
parents:
15472
diff
changeset
|
12 | # 'PREREQ_PM' => { 'Pidgin' => '@VERSION@'}, |
| 14478 | 13 | # Do this because the MakeMaker Makefile is dumb, and on clean it moves |
| 14 | # Makefile to the default setting for MAKEFILE_OLD which is Makefile.old | |
| 15 | # but this breaks running make clean more than once in a row. | |
| 16 | 'MAKEFILE_OLD' => "Makefile", | |
| 17 | 'OBJECT' => '$(O_FILES)', | |
| 15472 | 18 | 'TYPEMAPS' => ["@top_srcdir@/libpurple/plugins/perl/common/typemap"], |
| 14478 | 19 | # 'OPTIMIZE' => '-g', # For debugging. |
| 20 | ); |