xbps-src: move helpers to environment; there's no need to have them.

Those helpers were just setting up some extra functions that can be used
on templates, and this can be done already via environment, so let's remove
the helpers completely.
This commit is contained in:
Juan RP 2014-08-30 09:01:29 +02:00
parent 85106303ad
commit 790202ddbd
10 changed files with 0 additions and 53 deletions

View File

@ -1,25 +0,0 @@
SHELL HELPERS
=============
This directory contains shell files that are read by xbps-src and can be used at any
phase when building source packages. Only files with the `.sh' extension will be read.
A shell helper must provide its own function for use in the source packages.
The following examples illustrates a fake helper named `myhelper.sh' that provides
the `myhelper_func' function:
myhelper.sh:
...
myhelper_func() {
...
}
...
You can then use this helper in a source package like this:
srcpkgs/foo/template:
...
do_install() {
myhelper_func ...
}
...

View File

@ -16,10 +16,6 @@ XBPS_CROSS_BUILD="$2"
. $XBPS_SHUTILSDIR/common.sh
for f in $XBPS_COMMONDIR/helpers/*.sh; do
source_file "$f"
done
setup_pkg "$PKGNAME" $XBPS_CROSS_BUILD
for f in $XBPS_COMMONDIR/environment/build/*.sh; do

View File

@ -16,10 +16,6 @@ XBPS_CROSS_BUILD="$2"
. $XBPS_SHUTILSDIR/common.sh
for f in $XBPS_COMMONDIR/helpers/*.sh; do
source_file "$f"
done
setup_pkg "$PKGNAME" $XBPS_CROSS_BUILD
for f in $XBPS_COMMONDIR/environment/configure/*.sh; do

View File

@ -16,10 +16,6 @@ XBPS_CROSS_BUILD="$2"
. $XBPS_SHUTILSDIR/common.sh
for f in $XBPS_COMMONDIR/helpers/*.sh; do
source_file "$f"
done
setup_pkg "$PKGNAME" $XBPS_CROSS_BUILD
for f in $XBPS_COMMONDIR/environment/extract/*.sh; do

View File

@ -16,10 +16,6 @@ XBPS_CROSS_BUILD="$2"
. $XBPS_SHUTILSDIR/common.sh
for f in $XBPS_COMMONDIR/helpers/*.sh; do
source_file "$f"
done
setup_pkg "$PKGNAME" $XBPS_CROSS_BUILD
for f in $XBPS_COMMONDIR/environment/fetch/*.sh; do

View File

@ -16,10 +16,6 @@ XBPS_CROSS_BUILD="$2"
. $XBPS_SHUTILSDIR/common.sh
for f in $XBPS_COMMONDIR/helpers/*.sh; do
source_file "$f"
done
setup_pkg "$PKGNAME" $XBPS_CROSS_BUILD
for f in $XBPS_COMMONDIR/environment/install/*.sh; do

View File

@ -18,10 +18,6 @@ XBPS_CROSS_BUILD="$3"
. $XBPS_SHUTILSDIR/common.sh
for f in $XBPS_COMMONDIR/helpers/*.sh; do
source_file "$f"
done
setup_pkg "$PKGNAME" $XBPS_CROSS_BUILD
for f in $XBPS_COMMONDIR/environment/pkg/*.sh; do

View File

@ -16,10 +16,6 @@ XBPS_CROSS_BUILD="$2"
. $XBPS_SHUTILSDIR/common.sh
for f in $XBPS_COMMONDIR/helpers/*.sh; do
source_file "$f"
done
setup_pkg "$PKGNAME" $XBPS_CROSS_BUILD
for f in $XBPS_COMMONDIR/environment/install/*.sh; do