Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
bc
Commits
6ed34bc6
Commit
6ed34bc6
authored
Mar 19, 2019
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parents
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
46 additions
and
0 deletions
+46
-0
Makefile
Makefile
+21
-0
bc-1.07.1.tar.gz
bc-1.07.1.tar.gz
+0
-0
bc.groups
bc.groups
+6
-0
build.xml
build.xml
+19
-0
No files found.
Makefile
0 → 100644
View file @
6ed34bc6
all
:
bc-fix-libmath.h
tar
xf bc-1.07.1.tar.gz
@
echo
"
$$
LIBMATH"
>
bc-1.07.1/bc/fix-libmath_h
ln
-sv
/tools/lib/libncursesw.so.6 /usr/lib/libncursesw.so.6
ln
-sfv
libncurses.so.6 /usr/lib/libncurses.so
cd
bc-1.07.1
&&
sed
-i
-e
'/flex/s/as_fn_error/: ;; # &/'
configure
cd
bc-1.07.1
&&
./configure
--prefix
=
/usr
--with-readline
--mandir
=
/usr/share/man
--infodir
=
/usr/share/info
$(MAKE)
-C
bc-1.07.1
if
[[
!
"
$(BUILD_OPTIONS)
"
=
~ no-tests
]]
;
then
\
cd
bc-1.07.1
&&
echo
"quit"
| ./bc/bc
-l
Test/checklib.b
;
\
fi
$(MAKE)
-C
bc-1.07.1
install
rm
-rf
bc-1.07.1
bc-fix-libmath.h
:
define
LIBMATH
#!/bin/bash
sed
-e
'1 s/^/{"/'
-e
's/$$/",/'
-e
'2,$$ s/^/"/'
-e
'$$ d'
-i
libmath.h
sed
-e
'$$ s/$$/0}/'
-i
libmath.h
endef
export
LIBMATH
bc-1.07.1.tar.gz
0 → 100644
View file @
6ed34bc6
File added
bc.groups
0 → 100644
View file @
6ed34bc6
bin
/usr/bin/.*
info
/usr/share/info/.*
man
/usr/share/man/.*
build.xml
0 → 100644
View file @
6ed34bc6
<project
name=
"bc"
>
<target
name=
"boot-bc"
>
<property
name=
"makedir"
value=
"${builddir}/bc-1.07.1"
/>
<exec
executable=
"tar"
failonerror=
"true"
>
<arg
line=
"xf packages/bc/bc-1.07.1.tar.gz -C ${builddir}"
/>
</exec>
<exec
executable=
"./configure"
dir=
"${makedir}"
failonerror=
"true"
>
<env
key=
"CC"
value=
"gcc"
/>
<arg
line=
"--prefix=${sysrootdir}/cross-tools"
/>
</exec>
<exec
executable=
"make"
dir=
"${makedir}"
failonerror=
"true"
/>
<exec
executable=
"make"
dir=
"${makedir}"
failonerror=
"true"
>
<arg
line=
"install"
/>
</exec>
<delete
dir=
"${makedir}"
/>
</target>
</project>
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