24 lines
402 B
Plaintext
24 lines
402 B
Plaintext
|
# Basic information
|
||
|
name="bc"
|
||
|
version="6.6.0"
|
||
|
|
||
|
# Download options
|
||
|
format="git"
|
||
|
url="https://github.com/gavinhoward/bc"
|
||
|
tag="$version"
|
||
|
|
||
|
# Build instructions
|
||
|
|
||
|
do_patch()
|
||
|
{
|
||
|
patch -u -i $portdir/bc.patch -p 1 -d $srcdir
|
||
|
}
|
||
|
|
||
|
do_configure()
|
||
|
{
|
||
|
HOSTCC=gcc PREFIX="/usr" $srcdir/configure --disable-nls --bc-only --disable-history --disable-man-pages
|
||
|
}
|
||
|
|
||
|
default_build_make=true
|
||
|
default_install_make=true
|