FrugalBuild perl
From FrugalWiki
Dansk – Deutsch – English – Español – Français – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Polski – Português – Română – Slovenský – Suomi – Svenska – Türkçe – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어
Contents |
== Specific FrugalBuild for perl applications hosted on cpan.org ==
- Example
_F_perl_name=Pod-Simple _F_perl_author=A/AR/ARANDAL pkgver=3.04 pkgdesc="framework for parsing Pod" depends=('perl-pod-escapes') Finclude perl pkgrel=1 archs=('i686' 'x86_64') sha1sums=(Ž45646ac806b91b37caadf0b08ce71d3f6ef2a60cŽ)
Finclude perl
Finclude perl avoid prescribing functions _F_cd_path (if not specified), pkgname, pkgrel (if not specified), depends (), makedepend (), groups () and archs ().
_F_perl_name
To specify the name of the module CPAN
_F_perl_author
To indicate the module's author
_F_perl_ext
The default is ". tar.gz", it indicates the extension of the source tarball.
_F_perl_sourcename
Default: _F_perl_name, it indicates the name of the source tarball without pkgver and _F_perl_ext.
_F_perl_url
Default: ftp://cpan.org/authors/id/
_F_perl_no_url
if indicated, will not overwrite the $url
_F_perl_no_up2date
If indicated, don't indicate an $up2date
_F_perl_no_source
If indicated, don't indicate the $source() function