2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# Copyright (C) 2018-present Frank Hartung (supervisedthinking (@) gmail.com)
|
|
|
|
|
|
|
|
PKG_NAME="capsimg"
|
2023-03-20 10:54:45 +00:00
|
|
|
PKG_VERSION="ed4cb0912fb1a2a0d5203111c6f6abd50d411b56"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
PKG_SITE="https://github.com/FrodeSolheim/capsimg"
|
2023-03-20 10:54:45 +00:00
|
|
|
PKG_URL="${PKG_SITE}.git"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
|
|
PKG_LONGDESC="SPS Decoder Library 5.1 (formerly IPF Decoder Lib)"
|
|
|
|
PKG_TOOLCHAIN="make"
|
|
|
|
PKG_PATCH_DIRS+="${DEVICE}"
|
|
|
|
|
|
|
|
PKG_MAKE_OPTS_TARGET="-C CAPSImg"
|
|
|
|
|
|
|
|
pre_configure_target() {
|
|
|
|
cd ..
|
|
|
|
./bootstrap
|
|
|
|
./configure --host=${TARGET_NAME}
|
|
|
|
}
|
|
|
|
|
|
|
|
makeinstall_target() {
|
|
|
|
mkdir -p ${INSTALL}/usr/lib
|
|
|
|
cp -v CAPSImg/libcapsimage.so.5.1 ${INSTALL}/usr/lib/
|
|
|
|
ln -sf libcapsimage.so.5.1 ${INSTALL}/usr/lib/libcapsimage.so.5
|
|
|
|
ln -sf libcapsimage.so.5.1 ${INSTALL}/usr/lib/libcapsimage.so
|
2023-03-20 10:54:45 +00:00
|
|
|
mkdir -p ${INSTALL}/usr/include/caps5
|
|
|
|
cp -v LibIPF/* ${INSTALL}/usr/include/caps5
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|