OpenCores
URL https://opencores.org/ocsvn/firgen/firgen/trunk

Subversion Repositories firgen

[/] [firgen/] [trunk/] [firgen/] [RedFIR/] [admin/] [debianrules] - Blame information for rev 10

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 7 redfir
#!/usr/bin/perl -w
2
 
3
use Shell qw(mv cp mkdir rm) ;
4
use File::Find;
5
use Cwd;
6
 
7
$origPwd = `pwd`;
8
chomp $origPwd;
9
 
10
$kde_confdir            =       "/etc/kde3";
11
$kde_prefix             =       "/usr";
12
$kde_bindir             =       "$kde_prefix/bin";
13
$kde_includedir         =       "$kde_prefix/include/kde";
14
$kde_libdir             =       "$kde_prefix/lib";
15
$kde_cgidir             =       "$kde_prefix/lib/cgi-bin";
16
$kde_moduledir          =       "$kde_prefix/lib/kde3";
17
$kde_appsdir            =       "$kde_prefix/share/applnk";
18
$kde_datadir            =       "$kde_prefix/share/apps";
19
$kde_htmldir            =       "$kde_prefix/share/doc/kde/HTML";
20
$kde_icondir            =       "$kde_prefix/share/icons";
21
$kde_locale             =       "$kde_prefix/share/locale";
22
$kde_mimedir            =       "$kde_prefix/share/mimelnk";
23
$kde_servicesdir        =       "$kde_prefix/share/services";
24
$kde_servicetypesdir    =       "$kde_prefix/share/servicetypes";
25
$kde_sounddir           =       "$kde_prefix/share/sounds";
26
$kde_templatesdir       =       "$kde_prefix/share/templates";
27
$kde_wallpaperdir       =       "$kde_prefix/share/wallpapers";
28
 
29
$mandir                 =       "$kde_prefix/share/man";
30
$infodir                =       "$kde_prefix/share/info";
31
$sysconfdir             =       "/etc";
32
 
33
$QTDIR                  =       "/usr/share/qt";
34
$IDL                    =       "$kde_bindir/cuteidl";
35
$DCOPIDL                =       "$kde_bindir/dcopidl";
36
$DCOPIDL2CPP            =       "$kde_bindir/dcopidl2cpp";
37
$KDB2HTML               =       "$kde_bindir/kdb2html";
38
$MCOPIDL                =       "$kde_bindir/mcopidl";
39
$ARTSCCONFIG            =       "$kde_bindir/artsc-config";
40
 
41
if (defined $ENV{DEB_BUILD_OPTIONS} &&
42
    $ENV{DEB_BUILD_OPTIONS} =~ /\bdebug\b/) {
43
  $enable_debug="--enable-debug";
44
  $enable_final="";
45
}
46
else {
47
  $enable_debug="--disable-debug";
48
  $enable_final="--enable-final";
49
}
50
 
51
if (@ARGV && $ARGV[0] eq 'echodirs') {
52
  print STDOUT "export kde_confdir=$kde_confdir\n";
53
  print STDOUT "export kde_prefix=$kde_prefix\n";
54
  print STDOUT "export kde_bindir=$kde_bindir\n";
55
  print STDOUT "export kde_includedir=$kde_includedir\n";
56
  print STDOUT "export kde_libdir=$kde_libdir\n";
57
  print STDOUT "export kde_cgidir=$kde_cgidir\n";
58
  print STDOUT "export kde_moduledir=$kde_moduledir\n";
59
  print STDOUT "export kde_appsdir=$kde_appsdir\n";
60
  print STDOUT "export kde_datadir=$kde_datadir\n";
61
  print STDOUT "export kde_htmldir=$kde_htmldir\n";
62
  print STDOUT "export kde_icondir=$kde_icondir\n";
63
  print STDOUT "export kde_locale=$kde_locale\n";
64
  print STDOUT "export kde_mimedir=$kde_mimedir\n";
65
  print STDOUT "export kde_servicesdir=$kde_servicesdir\n";
66
  print STDOUT "export kde_servicetypesdir=$kde_servicetypesdir\n";
67
  print STDOUT "export kde_sounddir=$kde_sounddir\n";
68
  print STDOUT "export kde_templatesdir=$kde_templatesdir\n";
69
  print STDOUT "export kde_wallpaperdir=$kde_wallpaperdir\n";
70
 
71
  print STDOUT "export mandir=$mandir\n";
72
  print STDOUT "export infodir=$infodir\n";
73
  print STDOUT "export sysconfdir=$sysconfdir\n";
74
 
75
  print STDOUT "export QTDIR=$QTDIR\n";
76
  print STDOUT "export IDL=$IDL\n";
77
  print STDOUT "export DCOPIDL=$DCOPIDL\n";
78
  print STDOUT "export DCOPIDL2CPP=$DCOPIDL2CPP\n";
79
  print STDOUT "export KDB2HTML=$KDB2HTML\n";
80
  print STDOUT "export MCOPIDL=$MCOPIDL\n";
81
  print STDOUT "export ARTSCCONFIG=$ARTSCCONFIG\n";
82
  print STDOUT "export INSTALL_DATA=install -p -c -m 644\n";
83
 
84
  print STDOUT "configkde=$enable_debug $enable_final --disable-rpath --prefix=\$(kde_prefix) --libexecdir=\$(kde_bindir) --sysconfdir=\$(sysconfdir) --libdir=\$(kde_libdir) --includedir=\$(kde_includedir) --with-qt-includes=/usr/include/qt --mandir=\$(mandir) --infodir=\$(infodir)\n";
85
  print STDOUT "configkdevelop=$enable_debug $enable_final --disable-rpath --enable-docbase --enable-kdoc2 --libdir=\$(kde_libdir) --includedir=\$(kde_includedir) --with-qt-includes=/usr/include/qt --mandir=\$(mandir) --with-kdelibsdoc-dir=/usr/share/doc/kdelibs3-doc/html\n";
86
  print STDOUT "configkdepim=$enable_debug $enable_final --disable-rpath --with-extra-includes=/usr/include/libpisock --enable-shared --prefix=\$(kde_prefix) --libexecdir=\$(kde_bindir) --with-qt-includes=/usr/include/qt --mandir=\$(mandir) --infodir=\$(infodir)\n";
87
 
88
  exit
89
}
90
 
91
if (@ARGV && $ARGV[0] eq 'echoglobals') {
92
        print STDOUT "[Directories]\n";
93
        print STDOUT "dir_config=$kde_confdir\n";
94
        print STDOUT "dir_tmp=/tmp\n";
95
        print STDOUT "dir_socket=/tmp\n";
96
        print STDOUT "dir_exe=$kde_bindir\n";
97
        print STDOUT "dir_lib=$kde_libdir\n";
98
        print STDOUT "dir_cgi=$kde_cgidir\n";
99
        print STDOUT "dir_module=$kde_moduledir\n";
100
        print STDOUT "dir_apps=$kde_appsdir\n";
101
        print STDOUT "dir_data=$kde_datadir\n";
102
        print STDOUT "dir_html=$kde_htmldir\n";
103
        print STDOUT "dir_icon=$kde_icondir\n";
104
        print STDOUT "dir_locale=$kde_locale\n";
105
        print STDOUT "dir_mime=$kde_mimedir\n";
106
        print STDOUT "dir_services=$kde_servicesdir\n";
107
        print STDOUT "dir_servicetypes=$kde_servicetypesdir\n";
108
        print STDOUT "dir_sound=$kde_sounddir\n";
109
        print STDOUT "dir_templates=$kde_templatesdir\n";
110
        print STDOUT "dir_wallpaper=$kde_wallpaperdir\n";
111
        print STDOUT "[General]\n";
112
        print STDOUT "TerminalApplication=x-terminal-emulator\n";
113
        exit
114
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.