2023-10-23 22:44:47 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2023-10-17 13:11:57 +00:00
|
|
|
# Copyright (C) 2023-present JELOS (https://github.com/JustEnoughLinuxOS)
|
|
|
|
|
|
|
|
PKG_NAME="bdf2psf"
|
|
|
|
PKG_VERSION="1.221"
|
|
|
|
PKG_LICENSE="GPLv2"
|
|
|
|
PKG_SITE="https://packages.debian.org/unstable/${PKG_NAME}"
|
|
|
|
PKG_URL="https://deb.debian.org/debian/pool/main/c/console-setup/${PKG_NAME}_${PKG_VERSION}_all.deb"
|
|
|
|
PKG_DEPENDS_HOST="toolchain"
|
|
|
|
PKG_LONGDESC="Utility to convert BDF font files to PSF format"
|
|
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
|
|
|
|
unpack() {
|
|
|
|
mkdir -p ${PKG_BUILD}
|
|
|
|
cd ${PKG_BUILD}
|
|
|
|
ar x ${SOURCES}/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.deb
|
|
|
|
tar -xf data.tar.xz
|
|
|
|
}
|
|
|
|
|
|
|
|
makeinstall_host() {
|
|
|
|
mkdir -p ${TOOLCHAIN}/usr/{bin,share}
|
|
|
|
cp ${PKG_BUILD}/usr/bin/${PKG_NAME} ${TOOLCHAIN}/usr/bin
|
|
|
|
cp -rf ${PKG_BUILD}/usr/share/* ${TOOLCHAIN}/usr/share
|
|
|
|
chmod 0755 ${TOOLCHAIN}/usr/bin/${PKG_NAME}
|
|
|
|
}
|