pidgin/plugins/perl/common/Makefile.PL.in

Thu, 24 Apr 2014 00:13:26 +0200

author
Tomasz Wasilczyk <twasilczyk@pidgin.im>
date
Thu, 24 Apr 2014 00:13:26 +0200
changeset 35888
bbef15512b9f
parent 35603
08adaffc9b06
permissions
-rw-r--r--

Fix Pidgin/Finch plugin directory versioning

use 5.006;
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence the contents
# of the Makefile that is written.
WriteMakefile(
    'NAME'             => 'Pidgin',
    'VERSION'          => '@VERSION@',
    ($] >= 5.005 ? ## Add these new keywords supported since 5.005
      ('ABSTRACT_FROM' => '@srcdir@/Pidgin.pm', # finds $ABSTRACT
       'AUTHOR'        => 'Pidgin <https://pidgin.im/>') :  ()),
    'DEFINE'        => '@DEBUG_CFLAGS@ -Wno-float-equal',
    'dynamic_lib'       => { 'OTHERLDFLAGS' => '@LDFLAGS@' },
    'INC'           => '-I. -I@srcdir@ -I@top_srcdir@ -I@top_builddir@ -I@top_srcdir@/libpurple -I@top_srcdir@/pidgin @GTK_CFLAGS@ @WEBKIT_CFLAGS@ -DHAVE_CONFIG_H',
    'OBJECT'        => '$(O_FILES)', # link all the C files too
    'TYPEMAPS'      => ["@top_srcdir@/libpurple/plugins/perl/common/typemap"],
#    'OPTIMIZE'      => '-g', # For debugging.
    'INSTALLDIRS'          => 'vendor',
    'INSTALL_BASE'         => '$(prefix)',
    'INSTALLVENDORARCH'    => '$(libdir)/pidgin-$(PURPLE_MAJOR_VERSION)/perl',
    'INSTALLVENDORMAN3DIR' => '$(mandir)/man3',
    'macro'                => {
        'prefix'      => '@prefix@',
        'exec_prefix' => '@exec_prefix@',
        'libdir'      => '@libdir@',
        'mandir'      => '@mandir@',
        'datarootdir' => '@datarootdir@',
    },
);

mercurial