mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-11 23:00:52 +00:00
18 lines
774 B
Bash
18 lines
774 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/coin-or/Cgl
|
|
TERMUX_PKG_DESCRIPTION="An open-source cut generation library for COIN-OR projects"
|
|
TERMUX_PKG_LICENSE="EPL-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=0.60.8
|
|
TERMUX_PKG_SRCURL=https://github.com/coin-or/Cgl/archive/refs/tags/releases/${TERMUX_PKG_VERSION#*:}.tar.gz
|
|
TERMUX_PKG_SHA256=1482ba38afb783d124df8d5392337f79fdd507716e9f1fb6b98fc090acd1ad96
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_UPDATE_METHOD=repology
|
|
TERMUX_PKG_DEPENDS="coinor-clp, libc++, libcoinor-osi, libcoinor-utils"
|
|
|
|
termux_step_pre_configure() {
|
|
local _libgcc_file="$($CC -print-libgcc-file-name)"
|
|
local _libgcc_path="$(dirname $_libgcc_file)"
|
|
local _libgcc_name="$(basename $_libgcc_file)"
|
|
LDFLAGS+=" -L$_libgcc_path -l:$_libgcc_name"
|
|
}
|