24 lines
778 B
Makefile
24 lines
778 B
Makefile
|
# SPDX-License-Identifier: GPL-2.0
|
||
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||
|
|
||
|
PKG_NAME="libfstrcmp"
|
||
|
PKG_VERSION="0.7.D001"
|
||
|
PKG_SHA256="e4018e850f80700acee8da296e56e15b1eef711ab15157e542e7d7e1237c3476"
|
||
|
PKG_LICENSE="GPL"
|
||
|
PKG_SITE="http://fstrcmp.sourceforge.net/"
|
||
|
PKG_URL="https://downloads.sourceforge.net/project/fstrcmp/fstrcmp/$(get_pkg_version_maj_min)/fstrcmp-${PKG_VERSION}.tar.gz"
|
||
|
PKG_DEPENDS_TARGET="toolchain"
|
||
|
PKG_LONGDESC="The fstrcmp project provides a library that is used to make fuzzy comparisons of strings and byte arrays, including multi-byte character strings."
|
||
|
|
||
|
pre_configure_target() {
|
||
|
cd "${PKG_BUILD}"
|
||
|
}
|
||
|
|
||
|
make_target() {
|
||
|
make all-bin
|
||
|
}
|
||
|
|
||
|
makeinstall_target() {
|
||
|
make DESTDIR="${SYSROOT_PREFIX}" install-include install-libdir
|
||
|
}
|