Added support for build_style=perl_module. That means that perl modules
now work on pkgfs. While doing this work I added some new variables that can be used in templates: run_stuff_before="<stage>" run_stuff_after="<stage>" run_stuff_before_<stage>_file run_stuff_after_<stage>_file These can be used in a template when you need to do some stuff before or after the stage specified, and the file will be read and the commands on it executed. Now that finally perl modules work, add the following templates: intltool-0.40.4 and perl-XML-Parser-2.36. Also mktmpl.sh has been updated to understand build_style=perl_module. ENJOY! --HG-- extra : convert_revision : 53c5148f1ba703e2b5af6e43f71668aac54a37d2
This commit is contained in:
parent
0220b27822
commit
0fdfc94802
12 changed files with 273 additions and 45 deletions
6
templates/perl-runstuff-before-build.sh
Executable file
6
templates/perl-runstuff-before-build.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
# This fixes the definitions that the perl binary uses to look at
|
||||
# PKGFS_MASTERDIR and not PKGFS_DESTDIR!
|
||||
|
||||
$sed_cmd -e "s|$PKGFS_DESTDIR\/$pkgname|$PKGFS_MASTERDIR|g" \
|
||||
$wrksrc/config.h > $wrksrc/config.h.in && \
|
||||
$mv_cmd -f $wrksrc/config.h.in $wrksrc/config.h
|
Loading…
Add table
Add a link
Reference in a new issue