mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
alien (8.95) unstable; urgency=medium
* QA upload.
* debian/control:
- Bumped Standards-Version to 3.9.6.
- Removed duplicated section field.
* debian/copyright:
- Replaced protocol from http to https in the Format field.
- Included authors' e-mail addresses.
- Replaced GPL-2+ license reference by actual GPL-2+ license.
* debian/source/format: Created as 3.0 (native).
alien (8.94) unstable; urgency=medium
* QA upload.
* Fix "FTBFS with perl 5.22 in experimental (MakeMaker changes)":
remove override_dh_auto_install in debian/rules, and
use DESTDIR in Makefile.PL.
(Closes: #792371)
37 lines
778 B
Perl
Executable File
37 lines
778 B
Perl
Executable File
#!/usr/bin/perl -w
|
|
use ExtUtils::MakeMaker;
|
|
use strict;
|
|
|
|
# Just to make it ignore editor backup files.
|
|
sub MY::libscan {
|
|
$_ = $_[1];
|
|
|
|
return '' if $_ eq 'alien.pl';
|
|
return '' if m/\/(RCS|CVS|SCCS)\// || m/[~%]$/ || m/\.(orig|rej)$/;
|
|
return $_;
|
|
}
|
|
|
|
# Add a few more targets.
|
|
sub MY::postamble {
|
|
return q{
|
|
|
|
VER=$(shell perl -e '$$_=<>;print m/\((.*?)\)/'<debian/changelog)
|
|
|
|
all:: extra_build
|
|
clean:: extra_build
|
|
|
|
extra_build:
|
|
perl -i -pe "s/\@version\@/$(VER)/g" <alien.lsm.in >alien.lsm
|
|
perl -i -pe "s/\@version\@/$(VER)/g" <alien.spec.in >alien.spec
|
|
|
|
alien:
|
|
perl -pe '$$_="" if /use lib/; $$_="our \$$Version=\"$(VER)\";\n" if /VERSION_AUTOREPLACE/' alien.pl > alien
|
|
}
|
|
}
|
|
|
|
WriteMakefile(
|
|
'NAME' => 'Alien',
|
|
'EXE_FILES' => ['alien'],
|
|
'clean' => {FILES => 'alien'},
|
|
);
|