Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
alpine
abuild
Commits
b0b66ea0
Commit
b0b66ea0
authored
Jun 28, 2011
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
newapkbuild: rename config_* functions to build_*
We call make as well as needed so build_* is better function name.
parent
50dd6eab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
newapkbuild.in
newapkbuild.in
+6
-6
No files found.
newapkbuild.in
View file @
b0b66ea0
...
...
@@ -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__
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment