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)
|
|
|
|
|
|
|
|
PKG_NAME="populatefs"
|
|
|
|
PKG_VERSION="1.0"
|
|
|
|
PKG_SHA256="e5845404188b5da3afb11229ecb38646cc1562b61400035774dbc237c3b706d2"
|
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
PKG_SITE="https://github.com/lipnitsk/populatefs"
|
2023-02-24 13:53:43 +00:00
|
|
|
PKG_URL="https://github.com/lipnitsk/${PKG_NAME}/archive/v${PKG_VERSION}.tar.gz"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_DEPENDS_HOST="e2fsprogs:host"
|
|
|
|
PKG_LONGDESC="populatefs: Tool for replacing genext2fs when creating ext4 images"
|
|
|
|
PKG_BUILD_FLAGS="+pic:host"
|
|
|
|
|
|
|
|
make_host() {
|
|
|
|
make EXTRA_LIBS="-lcom_err -lpthread"
|
|
|
|
}
|
|
|
|
|
|
|
|
makeinstall_host() {
|
2023-02-24 13:53:43 +00:00
|
|
|
${STRIP} src/populatefs
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2023-02-24 13:53:43 +00:00
|
|
|
mkdir -p ${TOOLCHAIN}/sbin
|
|
|
|
cp src/populatefs ${TOOLCHAIN}/sbin
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|