17 lines
546 B
Makefile
17 lines
546 B
Makefile
|
# SPDX-License-Identifier: GPL-2.0
|
||
|
|
||
|
PKG_NAME="libserialport"
|
||
|
PKG_VERSION="6f9b03e"
|
||
|
PKG_LICENSE="GPLv3"
|
||
|
PKG_SITE="https://github.com/sigrokproject/libserialport"
|
||
|
PKG_URL="${PKG_SITE}.git"
|
||
|
PKG_DEPENDS_TARGET="toolchain"
|
||
|
PKG_LONGDESC="A minimal, cross-platform shared library written in C that is intended to take care of the OS-specific details when writing software that uses serial ports."
|
||
|
PKG_TOOLCHAIN="make"
|
||
|
|
||
|
make_target() {
|
||
|
cd ${PKG_BUILD}
|
||
|
|
||
|
./autogen.sh
|
||
|
./configure --host=${TARGET_NAME} --with-sysroot=${SYSROOT_PREFIX} --prefix=/usr
|
||
|
}
|