Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Adélie Package Tree
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adélie Linux
Adélie Package Tree
Commits
a7156d80
Unverified
Commit
a7156d80
authored
6 years ago
by
Anna Wilcox
Browse files
Options
Downloads
Patches
Plain Diff
system/bc: replace with POSIX bc
parent
7749175e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
system/bc/APKBUILD
+14
-23
14 additions, 23 deletions
system/bc/APKBUILD
with
14 additions
and
23 deletions
system/bc/APKBUILD
+
14
−
23
View file @
a7156d80
# Contributor:
Michael Mason <ms13sp@gmail.com
>
# Contributor:
A. Wilcox <awilfox@adelielinux.org
>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname
=
bc
pkgver
=
1.0
7.1
pkgrel
=
1
pkgver
=
1.0
_rc7
pkgrel
=
0
pkgdesc
=
"An arbitrary precision numeric processing language (calculator)"
url
=
"https://
www.gnu.org/software/bc/bc.html
"
url
=
"https://
github.com/gavinhoward/bc
"
arch
=
"all"
license
=
"GPL-2.0+"
makedepends
=
"ed flex bison texinfo"
subpackages
=
"
$pkgname
-doc"
source
=
"https://ftp.gnu.org/gnu/
$pkgname
/
$pkgname
-
$pkgver
.tar.gz"
options
=
"!check"
# No test suite.
license
=
"BSD-0-Clause"
depends
=
""
makedepends
=
""
subpackages
=
""
source
=
"https://github.com/gavinhoward/bc/releases/download/
${
pkgver
/_/-
}
/bc-
${
pkgver
/_/-
}
.tar.xz"
builddir
=
"
$srcdir
"
/
$pkgname
-
${
pkgver
/_/-
}
build
()
{
cd
"
$builddir
"
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
--prefix
=
/usr
\
--sysconfdir
=
/etc
\
--mandir
=
/usr/share/man
\
--infodir
=
/usr/share/info
make
}
check
()
{
cd
"
$builddir
"
make check
make
PREFIX
=
"/usr"
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
make
PREFIX
=
"/usr"
DESTDIR
=
"
$pkgdir
"
install
}
sha512sums
=
"
02126d0db6b6ed06d56cfc292d6f5475ff1e574779d7e69c7809bbb1e13f946f57ea07da2a7666baa092507a951a822044b0970075f75eefe65a5c1999b75d34
bc-1.0
7.1
.tar.
g
z"
sha512sums
=
"
58d50f6a369dd5aded16d9c9384f896a5a683bd1923c116fefe2dd8af24221c55a728d006c9cac9c9992ad6e04031173ce456fca61151b8b5d568ad0a3b39333
bc-1.0
-rc7
.tar.
x
z"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment