File: pkg.pl

package info (click to toggle)
libgtk-perl 0.7008-1.2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,112 kB
  • ctags: 897
  • sloc: perl: 13,823; ansic: 2,893; makefile: 92; cpp: 45
file content (20 lines) | stat: -rw-r--r-- 586 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

print "Gtk::HTML...\n";

add_pm 'GtkHTML.pm' => '$(INST_LIBDIR)/Gtk/HTML.pm';

add_defs 'pkg.defs';
add_typemap 'pkg.typemap';

add_headers (qw( <gtkhtml/gtkhtml.h> ));

$gtkhtmllibs = "-lgtkhtml " . `gtk-config --libs`;

$libs = "$libs $gtkhtmllibs"; 
# we need to know what libraries are used by the
# gtkxmhtml lib we are going to link to....
#
# This is a SERIOUSLY hackish way to do this.  I don't like working
# through the ENVIRONMENT variables anymore.  I think I'm going to
# go and convert all of these things. shortly...
#$libs =~ s/-l/$ENV{GTKXMHTML_LIBS} -l/; # hack hack