diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-28 07:11:02 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-28 07:11:02 +0000 |
commit | b0b66ea098a52e284bd3c90d68332c4ee068d565 (patch) | |
tree | 91a13eb90eac76b55b960d70eba29dab7183e5db /newapkbuild.in | |
parent | 50dd6eab6504e165b225ee0c1a73fa5fff2cbbc7 (diff) | |
download | abuild-b0b66ea098a52e284bd3c90d68332c4ee068d565.tar.gz abuild-b0b66ea098a52e284bd3c90d68332c4ee068d565.tar.bz2 abuild-b0b66ea098a52e284bd3c90d68332c4ee068d565.tar.xz abuild-b0b66ea098a52e284bd3c90d68332c4ee068d565.zip |
newapkbuild: rename config_* functions to build_*
We call make as well as needed so build_* is better function name.
Diffstat (limited to 'newapkbuild.in')
-rwxr-xr-x | newapkbuild.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/newapkbuild.in b/newapkbuild.in index 110b47d..b271049 100755 --- a/newapkbuild.in +++ b/newapkbuild.in @@ -33,7 +33,7 @@ is_url() { } # Build sections -config_autotools() { +build_autotools() { cat >>APKBUILD<<__EOF__ ./configure --prefix=/usr \\ --sysconfdir=/etc \\ @@ -45,14 +45,14 @@ config_autotools() { __EOF__ } -config_perl() { +build_perl() { cat >>APKBUILD<<__EOF__ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 __EOF__ } -config_python() { +build_python() { cat >>APKBUILD<<__EOF__ python setup.py build || return 1 __EOF__ @@ -210,11 +210,11 @@ __EOF__ case "$buildtype" in autotools) - config_autotools;; + build_autotools;; perl) - config_perl;; + build_perl;; python) - config_python;; + build_python;; esac cat >>APKBUILD<<__EOF__ |