File: libgd-text-perl.packages

package info (click to toggle)
yada 0.34
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,160 kB
  • ctags: 83
  • sloc: perl: 3,554; makefile: 26; sh: 12
file content (56 lines) | stat: -rw-r--r-- 1,796 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Source: libgd-text-perl
Section: graphics
Priority: extra
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.5.6
Upstream-Source: <URL:http://www.cpan.org/modules/by-module/GD/>
Description: perl GD::Text - Text utilities for use with GD
Origin: Debian
Bugs: debbugs://bugs.debian.org
Copyright: .
 Copyright (c) 1999 Martien Verbruggen
 mgjv@comdyn.com.au
 .
 This package is free software; you can redistribute it and/or
 modify it under the same terms as Perl itself.
         copyright 1999 Martien Verbruggen (mgjv@comdyn.com.au)
Major-Changes:
 none
Build: sh
 PERL=${PERL:-/usr/bin/perl}
 version=$($PERL -e 'printf "%.3f", $]')
 if dpkg --compare-versions "$version" lt "5.006"; then
     echo potato
     $PERL Makefile.PL
     make
 else
     echo woody
     $PERL Makefile.PL INSTALLDIRS=vendor
     make
 fi
Clean: sh
 test -f Makefile && touch Makefile && make distclean || true

Package: libgd-text-perl
Architecture: all
Depends: libgd-perl (>= 1.27), []
Description: perl GD::Text - Text utilities for use with GD
 This module provides a font-independent way of dealing
 with text in GD, for use with the GD::Text::* modules and
 GD::Graph. 
Install: sh
 PERL=${PERL:-/usr/bin/perl}
 version=$($PERL -e 'printf "%.3f", $]')
 if dpkg --compare-versions "$version" lt "5.006"; then
     echo potato
     archlib=$($PERL -MConfig -e 'print $Config{installarchlib}')
     config="INSTALLDIRS=perl INSTALLMAN1DIR=$ROOT/usr/share/man/man1 INSTALLMAN3DIR=$ROOT/usr/share/man/man3 INSTALLPRIVLIB=$ROOT/usr/lib/perl5 INSTALLARCHLIB=$ROOT$archlib"
     make pure_install $config
 else
     echo woody
     make install PREFIX=$ROOT/usr
 fi
 yada install -doc README
 yada install -doc -as changelog Changes
 yada install -doc -subdir examples demo/* cetus.ttf
 yada perl