From ade56c0c1745fc584413fc299b4922949aa38446 Mon Sep 17 00:00:00 2001 From: "Tom G. Christensen" Date: Fri, 4 Nov 2011 20:17:24 +0100 Subject: [PATCH] Update build.sh boilerplate to match the current template --- automake/build.sh | 9 +++------ bash3/build.sh | 9 +++------ binutils/build.sh | 9 +++------ bison/build.sh | 9 +++------ bzip2/build.sh | 9 +++------ coreutils/build.sh | 9 +++------ cvs/build.sh | 7 ++----- dejagnu/build.sh | 9 +++------ diffutils/build.sh | 9 +++------ expect/build.sh | 9 +++------ gcc/build.sh | 9 +++------ gcc40/build.sh | 9 +++------ gcc41/build.sh | 9 +++------ gcc42/build.sh | 9 +++------ gettext017/build.sh | 9 +++------ git/build.sh | 5 +---- gmp/build.sh | 5 +---- gzip/build.sh | 11 ++++------- less/build.sh | 9 +++------ libgpg-error/build.sh | 4 ++-- m4/build.sh | 5 +---- make/build.sh | 9 +++------ mpfr/build.sh | 1 - ncurses/build.sh | 9 +++------ openssh/build.sh | 1 - patch/build.sh | 11 ++++------- pcre/build.sh | 9 +++------ perl-Error/build.sh | 4 ++-- perl/build.sh | 9 +++------ readline/build.sh | 4 ++-- rsync/build.sh | 9 +++------ screen/build.sh | 9 +++------ sed/build.sh | 9 +++------ tar/build.sh | 9 +++------ tcl/build.sh | 9 +++------ texinfo/build.sh | 9 +++------ tk/build.sh | 9 +++------ top/build.sh | 9 +++------ unzip/build.sh | 9 +++------ vim/build.sh | 9 +++------ wget/build.sh | 9 +++------ zlib/build.sh | 1 - 42 files changed, 109 insertions(+), 220 deletions(-) diff --git a/automake/build.sh b/automake/build.sh index 1a6d43f..e6d98dd 100755 --- a/automake/build.sh +++ b/automake/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.bz2 #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings export PERL=$prefix/bin/perl diff --git a/bash3/build.sh b/bash3/build.sh index 476624a..fd9a9fb 100755 --- a/bash3/build.sh +++ b/bash3/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -15,7 +12,7 @@ pkgver=1 source[0]=$topdir-$real_version.tar.gz # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions patch[0]=${srcfiles}/${topdir}-${real_version}-patches/bash32-001 patch[1]=${srcfiles}/${topdir}-${real_version}-patches/bash32-002 diff --git a/binutils/build.sh b/binutils/build.sh index c7db304..866a2e8 100755 --- a/binutils/build.sh +++ b/binutils/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.bz2 #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings export CPPFLAGS="-I$prefix/include" diff --git a/bison/build.sh b/bison/build.sh index 152e1cd..98605d8 100755 --- a/bison/build.sh +++ b/bison/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.bz2 #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings export CPPFLAGS="-I/$prefix/include" diff --git a/bzip2/build.sh b/bzip2/build.sh index a4240b4..ac52175 100755 --- a/bzip2/build.sh +++ b/bzip2/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.gz patch[0]=bzip2-1.0.5-saneso.patch # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions reg prep prep() diff --git a/coreutils/build.sh b/coreutils/build.sh index f0d624a..0f40820 100755 --- a/coreutils/build.sh +++ b/coreutils/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.gz #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings export CPPFLAGS="-I/usr/tgcware/include" diff --git a/cvs/build.sh b/cvs/build.sh index 8bb89a1..cdbd64a 100755 --- a/cvs/build.sh +++ b/cvs/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script diff --git a/dejagnu/build.sh b/dejagnu/build.sh index 3e2b986..ee192e8 100755 --- a/dejagnu/build.sh +++ b/dejagnu/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.gz #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings export CPPFLAGS="-I$prefix/include" diff --git a/diffutils/build.sh b/diffutils/build.sh index f92f62f..9af0f2f 100755 --- a/diffutils/build.sh +++ b/diffutils/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.gz #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings export CPPFLAGS="-I$prefix/include" diff --git a/expect/build.sh b/expect/build.sh index 361242c..503487d 100755 --- a/expect/build.sh +++ b/expect/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.gz patch[0]=expect-5.43-no-rpath.patch # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings export CPPFLAGS="-I$prefix/include" diff --git a/gcc/build.sh b/gcc/build.sh index 3ff31bf..69637de 100755 --- a/gcc/build.sh +++ b/gcc/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.bz2 #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # GCC package naming guide # gcc - c diff --git a/gcc40/build.sh b/gcc40/build.sh index 1b9bb5c..e1997c2 100755 --- a/gcc40/build.sh +++ b/gcc40/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -18,7 +15,7 @@ source[0]=$topdir-$version.tar.bz2 patch[0]=gcc-4.0.4-newer-gas.patch # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings [ -n "$snapshot" ] && topsrcdir=gcc-$version-$snapshot diff --git a/gcc41/build.sh b/gcc41/build.sh index 1e271fc..c681d82 100755 --- a/gcc41/build.sh +++ b/gcc41/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -18,7 +15,7 @@ source[0]=$topdir-$version.tar.bz2 patch[0]=gcc-4.0.4-newer-gas.patch # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings [ -n "$snapshot" ] && topsrcdir=gcc-$version-$snapshot diff --git a/gcc42/build.sh b/gcc42/build.sh index c1e337f..d5995ac 100755 --- a/gcc42/build.sh +++ b/gcc42/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -18,7 +15,7 @@ source[0]=$topdir-$version.tar.bz2 #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings [ -n "$snapshot" ] && topsrcdir=gcc-$version-$snapshot diff --git a/gettext017/build.sh b/gettext017/build.sh index abbee8f..244ffe6 100755 --- a/gettext017/build.sh +++ b/gettext017/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.gz #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings export CPPFLAGS="-I$prefix/include" diff --git a/git/build.sh b/git/build.sh index bca6b0c..8408ec2 100755 --- a/git/build.sh +++ b/git/build.sh @@ -1,8 +1,5 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions . ${BUILDPKG_SCRIPTS}/build.sh.functions # diff --git a/gmp/build.sh b/gmp/build.sh index f4e9220..0f4c990 100755 --- a/gmp/build.sh +++ b/gmp/build.sh @@ -1,8 +1,5 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions . ${BUILDPKG_SCRIPTS}/build.sh.functions # diff --git a/gzip/build.sh b/gzip/build.sh index 7ddf80b..a4addfb 100755 --- a/gzip/build.sh +++ b/gzip/build.sh @@ -1,10 +1,7 @@ -#!/bin/env bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +#!/bin/bash +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.gz #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings export CPPFLAGS="-I$prefix/include" diff --git a/less/build.sh b/less/build.sh index ec8a0e9..22c786c 100755 --- a/less/build.sh +++ b/less/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.gz #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings configure_args="$configure_args --with-editor=/bin/vi" diff --git a/libgpg-error/build.sh b/libgpg-error/build.sh index e9c8ac8..1680937 100755 --- a/libgpg-error/build.sh +++ b/libgpg-error/build.sh @@ -1,7 +1,7 @@ #!/bin/bash # This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -13,7 +13,7 @@ source[0]=ftp://ftp.gnupg.org/gcrypt/libgpg-error/$topdir-$version.tar.bz2 #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings export CPPFLAGS="-I$prefix/include" diff --git a/m4/build.sh b/m4/build.sh index c534b3d..7cff0c5 100755 --- a/m4/build.sh +++ b/m4/build.sh @@ -1,8 +1,5 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions . ${BUILDPKG_SCRIPTS}/build.sh.functions # diff --git a/make/build.sh b/make/build.sh index f894e5a..cf04f39 100755 --- a/make/build.sh +++ b/make/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.bz2 #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions reg prep prep() diff --git a/mpfr/build.sh b/mpfr/build.sh index fc2072c..d268365 100755 --- a/mpfr/build.sh +++ b/mpfr/build.sh @@ -1,6 +1,5 @@ #!/bin/bash # This is a buildpkg build.sh script -# It can be used nearly unmodified with many packages # build.sh helper functions . ${BUILDPKG_SCRIPTS}/build.sh.functions # diff --git a/ncurses/build.sh b/ncurses/build.sh index 61d4c3f..282694c 100755 --- a/ncurses/build.sh +++ b/ncurses/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.gz #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings export CPPFLAGS="-I$prefix/include" diff --git a/openssh/build.sh b/openssh/build.sh index 8da31bd..de34010 100755 --- a/openssh/build.sh +++ b/openssh/build.sh @@ -1,6 +1,5 @@ #!/bin/bash # This is a buildpkg build.sh script -# It can be used nearly unmodified with many packages # build.sh helper functions . ${BUILDPKG_SCRIPTS}/build.sh.functions # diff --git a/patch/build.sh b/patch/build.sh index d989dc1..60c150d 100755 --- a/patch/build.sh +++ b/patch/build.sh @@ -1,10 +1,7 @@ -#!/usr/tgcware/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +#!/bin/bash +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.gz patch[0]=patch-2.5.4-destdir.patch # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings export CPPFLAGS="-I$prefix/include" diff --git a/pcre/build.sh b/pcre/build.sh index c8a8f99..336631e 100755 --- a/pcre/build.sh +++ b/pcre/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.bz2 #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings export CPPFLAGS="-I$prefix/include" diff --git a/perl-Error/build.sh b/perl-Error/build.sh index fd2dc9b..1eae724 100755 --- a/perl-Error/build.sh +++ b/perl-Error/build.sh @@ -1,7 +1,7 @@ #!/bin/bash # This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -13,7 +13,7 @@ source[0]=http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/$topdir-$version.t #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings maketest=1 diff --git a/perl/build.sh b/perl/build.sh index 851ea06..948bfd9 100755 --- a/perl/build.sh +++ b/perl/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.gz #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings make_check_target="test" diff --git a/readline/build.sh b/readline/build.sh index 0ad89e2..4ca34b2 100755 --- a/readline/build.sh +++ b/readline/build.sh @@ -1,7 +1,7 @@ #!/bin/bash # This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -13,7 +13,7 @@ source[0]=ftp://ftp.sunet.se/pub/gnu/readline/$topdir-$version.tar.gz #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings export CPPFLAGS="-I$prefix/include" diff --git a/rsync/build.sh b/rsync/build.sh index d3d0ca3..5d37929 100755 --- a/rsync/build.sh +++ b/rsync/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.gz #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings export CPPFLAGS="-I$prefix/include" diff --git a/screen/build.sh b/screen/build.sh index f89a8c0..5189367 100755 --- a/screen/build.sh +++ b/screen/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.gz patch[0]=screen-4.0.2-makefile-madness.diff # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings diff --git a/sed/build.sh b/sed/build.sh index 6e392c0..8689d03 100755 --- a/sed/build.sh +++ b/sed/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.gz #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings export CPPFLAGS="-I$prefix/include" diff --git a/tar/build.sh b/tar/build.sh index 6c54c4e..12508cd 100755 --- a/tar/build.sh +++ b/tar/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.bz2 #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings export CPPFLAGS="-I$prefix/include" diff --git a/tcl/build.sh b/tcl/build.sh index f022c6c..4c80766 100755 --- a/tcl/build.sh +++ b/tcl/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir$version-src.tar.gz #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings export LDFLAGS="-L$prefix/lib -R$prefix/lib" diff --git a/texinfo/build.sh b/texinfo/build.sh index cca1675..18af6fd 100755 --- a/texinfo/build.sh +++ b/texinfo/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.gz #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings export CPPFLAGS="-I$prefix/include" diff --git a/tk/build.sh b/tk/build.sh index 211d54a..0dcd24a 100755 --- a/tk/build.sh +++ b/tk/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=${topdir}${version}-src.tar.gz #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings export CPPFLAGS="-I$prefix/include" diff --git a/top/build.sh b/top/build.sh index 1dc7d3d..832964b 100755 --- a/top/build.sh +++ b/top/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.bz2 #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings [ -n "$(isainfo | grep sparcv9)" ] && v9bin=1 diff --git a/unzip/build.sh b/unzip/build.sh index bb77512..94d38c2 100755 --- a/unzip/build.sh +++ b/unzip/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=${topdir}552.tar.gz #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings shortroot=1 diff --git a/vim/build.sh b/vim/build.sh index cb71a30..eb034ce 100755 --- a/vim/build.sh +++ b/vim/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -19,7 +16,7 @@ source[0]=ftp://ftp.vim.org/pub/vim/unix/$topdir-$version.tar.bz2 # num=0; for i in `grep -v Win32 README | grep -v VMS | grep -v Mac | grep -v \.gz |grep -v \(extra|awk '{ print $2 }'|grep 7.1`; do echo "patch[$num]=$i"; let num=num+1; done # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings # We need to override this diff --git a/wget/build.sh b/wget/build.sh index 72355d5..75d0868 100755 --- a/wget/build.sh +++ b/wget/build.sh @@ -1,10 +1,7 @@ #!/bin/bash -# -# This is a generic build.sh script -# It can be used nearly unmodified with many packages -# +# This is a buildpkg build.sh script # build.sh helper functions -. ${BUILDPKG_BASE}/scripts/build.sh.functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### # Check the following 4 variables before running the script @@ -16,7 +13,7 @@ source[0]=$topdir-$version.tar.bz2 #patch[0]= # Source function library -. ${BUILDPKG_BASE}/scripts/buildpkg.functions +. ${BUILDPKG_SCRIPTS}/buildpkg.functions # Global settings export CPPFLAGS="-I$prefix/include" diff --git a/zlib/build.sh b/zlib/build.sh index dfd466d..6096c70 100755 --- a/zlib/build.sh +++ b/zlib/build.sh @@ -1,6 +1,5 @@ #!/bin/bash # This is a buildpkg build.sh script -# It can be used nearly unmodified with many packages # build.sh helper functions . ${BUILDPKG_SCRIPTS}/build.sh.functions #