distribution/packages/devel/fribidi/package.mk

26 lines
923 B
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="fribidi"
PKG_VERSION="1.0.12"
PKG_SHA256="0cd233f97fc8c67bb3ac27ce8440def5d3ffacf516765b91c2cc654498293495"
2022-02-05 14:23:32 +00:00
PKG_LICENSE="LGPL"
PKG_SITE="http://fribidi.freedesktop.org/"
PKG_URL="https://github.com/fribidi/fribidi/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A bidirectional algorithm library."
PKG_BUILD_FLAGS="+pic"
PKG_MESON_OPTS_TARGET="-Ddeprecated=false \
-Ddocs=false \
2023-02-25 00:47:59 +00:00
-Ddefault_library=shared"
2022-02-05 14:23:32 +00:00
post_makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/bin
cp -f ${PKG_DIR}/scripts/fribidi-config ${SYSROOT_PREFIX}/usr/bin
chmod +x ${SYSROOT_PREFIX}/usr/bin/fribidi-config
rm -rf ${INSTALL}/usr/bin
}