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:
@@ -11,8 +11,3 @@ short_desc="PCI Access from Modular X.org"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=5d972b5398f96bb94b2dab7f16613ad998887ece
|
||||
long_desc="..."
|
||||
|
||||
# NetBSD support.
|
||||
run_stuff_before="configure"
|
||||
run_stuff_before_configure_file="
|
||||
$PKGFS_TEMPLATESDIR/$pkgname-runstuff-before-configure.sh"
|
||||
|
||||
@@ -18,6 +18,3 @@ long_desc="
|
||||
attempts were made to make it as complete as possible, while
|
||||
keeping the code easy to understand. Currently, this library
|
||||
only supports C. Support for other languages is being considered."
|
||||
|
||||
run_stuff_before="build"
|
||||
run_stuff_before_build_file="$PKGFS_TEMPLATESDIR/$pkgname-runstuff-before-build.sh"
|
||||
|
||||
@@ -15,7 +15,3 @@ long_desc="
|
||||
uses the zlib(3) compression library, and optionally the JPEG library by the
|
||||
Independent JPEG Group (IJG) and/or lcms (little CMS), a color-management
|
||||
library by Marti Maria Saguar."
|
||||
|
||||
run_stuff_before="configure"
|
||||
run_stuff_before_configure_file="
|
||||
$PKGFS_TEMPLATESDIR/$pkgname-runstuff-before-configure.sh"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -24,9 +24,5 @@ long_desc="
|
||||
This package contains the core database of common types and the
|
||||
update-mime-database command used to extend it."
|
||||
|
||||
# Fix hardcoded mime-info database PATH.
|
||||
run_stuff_before="build"
|
||||
run_stuff_before_build_file="$PKGFS_TEMPLATESDIR/$pkgname-runstuff-before-build.sh"
|
||||
|
||||
# Update shared-mime-info database file.
|
||||
postinstall_helpers="update-mimedb.sh"
|
||||
|
||||
@@ -18,11 +18,3 @@ long_desc="
|
||||
different entities. They can, for example, map public identifiers to
|
||||
local files or URIs. This allows you to tell the parser where to look
|
||||
for entities without having to modify the original document source."
|
||||
|
||||
# Prepare and install the catalogs.
|
||||
run_stuff_after="install"
|
||||
run_stuff_after_install_file="
|
||||
$PKGFS_TEMPLATESDIR/$pkgname-runstuff-after-install.sh"
|
||||
run_stuff_before="install"
|
||||
run_stuff_before_install_file="
|
||||
$PKGFS_TEMPLATESDIR/$pkgname-runstuff-before-install.sh"
|
||||
|
||||
Reference in New Issue
Block a user