summaryrefslogtreecommitdiff
path: root/rpm/rules
blob: 0eb7771edc1d6f4499861e4e884058a9985baec9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$Summary = " Perl module for accessing the Ivy software bus";
$Name = "perl-Net-Ivy";
$Copyright = "CENA";
$Vendor = "Centre d'Etudes de la Navigation Aerienne";
$Distribution = "Toccata";
$Group = "System Environment/Libraries";
$Url = "http://www.tls.cena.fr/products/ivy";
$Requires = "perl, perl-Time-Gettimeofday, perl-IO-Socket-Multicast";
$Description = "This is the Perl interface to the Ivy software bus developped at CENA.";

$Build = "perl Makefile.PL
make";

$Install = "rm -rf \$RPM_BUILD_ROOT
eval `perl '-V:installarchlib'`
mkdir -p \$RPM_BUILD_ROOT/\$installarchlib
make PREFIX=\$RPM_BUILD_ROOT/usr install
find \$RPM_BUILD_ROOT/usr -type f -print | sed \"s\@^\$RPM_BUILD_ROOT\@\@g\" | grep -v perllocal.pod | grep -v .packlist > $Name-\%{version}-filelist";