File: write_config_debian.pl

package info (click to toggle)
pdl 1%3A2.100-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,816 kB
  • sloc: perl: 22,587; ansic: 14,969; sh: 31; makefile: 30; sed: 6
file content (23 lines) | stat: -rwxr-xr-x 335 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/perl
use strict;
use warnings;
use PDL;
use Inline qw{Pdlpp};

my $v = pdl(1)->pdl_core_version()->at(0);

print <<"EOPM";
package PDL::Config::Debian;
our \$pdl_core_version = $v;
1;
EOPM

__DATA__

__Pdlpp__

pp_def('pdl_core_version',
	Pars => 'dummy(); int [o] pcv();',
	Code => '$pcv() = PDL_CORE_VERSION;');

pp_done;