Simplify template files by removing run_stuff_<stage>_<phase> variables.
Now if a file "$pkgname-runstuff-<stage>-<phase>.sh" exists in PKGFS_TEMPLATESDIR exists, it's executed automatically. Therefore templates are simplified a lot. --HG-- extra : convert_revision : 94f1da6424d3df70ef763d4339cf4d8e778ccbac
This commit is contained in:
@@ -21,10 +21,3 @@ long_desc="
|
||||
procedural and object-oriented (OO) programming, has powerful built-in
|
||||
support for text processing, and has one of the world's most impressive
|
||||
collections of third-party modules."
|
||||
|
||||
# Perl needs to be handled specially and we have to transform some
|
||||
# definitions to look at the correct directory.
|
||||
run_stuff_before="build"
|
||||
run_stuff_before_build_file="$PKGFS_TEMPLATESDIR/perl-runstuff-before-build.sh"
|
||||
run_stuff_after="install"
|
||||
run_stuff_after_install_file="$PKGFS_TEMPLATESDIR/perl-runstuff-after-install.sh"
|
||||
|
||||
Reference in New Issue
Block a user