Introduce the make_env var for templates, and other related changes.
[pkgfs.git] / templates / perl.tmpl
blobdf3465b0c94022b854c44dc31d5a86a425081823
1 # Template build file for 'perl'.
2 pkgname=perl
3 version=5.10.0
4 patch_files="perl-dont-hardcode-rpath.diff"
5 extract_sufx=".tar.gz"
6 url=http://www.cpan.org/src
7 configure_script="Configure"
8 configure_args="-Dusethreads -des -Dprefix=$PKGFS_DESTDIR/$pkgname-$version
9  -Ui_malloc -Uusemymalloc -Dinstallstyle=lib/perl5"
10 build_style=configure
11 short_desc="Practical Extraction and Report Language"
12 maintainer="Juan RP <xtraeme@gmail.com>"
13 checksum=c6614fc99a162790a703f91085b24a60af903ba2
14 long_desc="
15  Perl is a general-purpose programming language originally developed
16  for text manipulation and now used for a wide range of tasks including
17  system administration, web development, network programming, GUI
18  development, and more.  The language is intended to be practical (easy
19  to use, efficient, complete) rather than beautiful (tiny, elegant,
20  minimal).  Its major features are that it's easy to use, supports both
21  procedural and object-oriented (OO) programming, has powerful built-in
22  support for text processing, and has one of the world's most impressive
23  collections of third-party modules."
25 # Perl needs to be handled specially and we have to transform some
26 # definitions to look at the correct directory.
27 run_stuff_before="build"
28 run_stuff_before_build_file="$PKGFS_TEMPLATESDIR/perl-runstuff-before-build.sh"
29 run_stuff_after="install"
30 run_stuff_after_install_file="$PKGFS_TEMPLATESDIR/perl-runstuff-after-install.sh"