Created
July 6, 2012 15:59
-
-
Save bernd/3061056 to your computer and use it in GitHub Desktop.
perl fpm-cookery recipe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PerlFileProperties < FPM::Cookery::Recipe | |
description 'Perl module representing properties of a disk file' | |
name 'libfile-properties-perl' | |
version '0.02' | |
revision 0 | |
source "http://search.cpan.org/CPAN/authors/id/W/WO/WOHL/File-Properties-#{version}.tar.gz" | |
homepage "http://search.cpan.org/~wohl/File-Properties-#{version}/" | |
def build | |
safesystem "perl Makefile.PL PREFIX=#{prefix}" | |
make | |
end | |
def install | |
make :install, :DESTDIR => destdir | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment