File: Makefile.PL

package info (click to toggle)
libcddb-perl 1.17-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 116 kB
  • ctags: 31
  • sloc: perl: 867; makefile: 40
file content (21 lines) | stat: -rw-r--r-- 533 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
#!/usr/bin/perl
# $Id: Makefile.PL 1 2005-09-17 19:46:28Z rcaputo $

use ExtUtils::MakeMaker;

## Touch CHANGES so it exists.
open(CHANGES, ">>CHANGES") and close CHANGES;

WriteMakefile(
	NAME         => 'CDDB',
	AUTHOR       => 'Rocco Caputo <rcaputo@cpan.org>',
	ABSTRACT     => 'High-level interface to CDDB and freedb servers.',
	VERSION_FROM => 'lib/CDDB.pm',
	dist         => {
		COMPRESS   => 'gzip -9',
		SUFFIX     => 'gz',
		PREOP      => (
			'svn-log.perl | tee ./$(DISTNAME)-$(VERSION)/CHANGES > ./CHANGES'
		),
	},
);