Files
Arch-R/packages/addons/script/script.config.vdr/package.mk

33 lines
1.0 KiB
Makefile
Raw Normal View History

2018-07-16 20:45:36 +02:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
2019-12-25 20:03:11 +00:00
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
2015-05-05 12:31:50 +03:00
PKG_NAME="script.config.vdr"
PKG_VERSION="3635c3751a4fe84e54a432b0efe6a969f74793e4"
PKG_SHA256="f87fa7de4c7b9917da0ed2a383fd3d49cee1b88bdab0f03b5c1e14b15fb3ad76"
PKG_REV="0"
2015-05-05 12:31:50 +03:00
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="https://libreelec.tv"
PKG_URL="https://github.com/LibreELEC/script.config.vdr/archive/${PKG_VERSION}.tar.gz"
toolchain: migrate from p7zip to 7-zip The -l option to 7za is not included the 7-Zip 22.01 version, it was an option added to the p7zip version: don't store symlinks; store the files/directories they point to (CAUTION : the scanning stage can never end because of recursive symlinks like 'ln -s .. ldir') The default for p7zip 16.02 7za was to store symlinks. The default for 7-zip 22.01 7za is not to store symlinks. test output is below and the -l option has been dropped from scripts/install_addon $ ls -l test total 4 -rw-r--r-- 1 docker docker 4 Jan 29 10:35 abc lrwxrwxrwx 1 docker docker 3 Jan 29 10:35 def -> abc 7-Zip (a) 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15 64-bit locale=en_US.UTF-8 Threads:16 $ 7za a -mx9 -bsp0 -bso0 -tzip test.zip test $ unzip -v test.zip Archive: test.zip Length Method Size Cmpr Date Time CRC-32 Name -------- ------ ------- ---- ---------- ----- -------- ---- 0 Stored 0 0% 2023-01-29 10:36 00000000 test/ 4 Stored 4 0% 2023-01-29 10:35 4788814e test/abc 4 Stored 4 0% 2023-01-29 10:35 4788814e test/def -------- ------- --- ------- 8 8 0% 3 files 7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs x64) $ 7za a -mx9 -bsp0 -bso0 -tzip test.zip test $ unzip -v test.zip Length Method Size Cmpr Date Time CRC-32 Name -------- ------ ------- ---- ---------- ----- -------- ---- 0 Stored 0 0% 2023-01-29 10:35 00000000 test/ 4 Stored 4 0% 2023-01-29 10:35 4788814e test/abc 3 Stored 3 0% 2023-01-29 10:35 352441c2 test/def -------- ------- --- ------- 7 7 0% 3 files 7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs x64) $ 7za a -l -mx9 -bsp0 -bso0 -tzip test.zip test $ unzip -v test.zip Archive: test.zip Length Method Size Cmpr Date Time CRC-32 Name -------- ------ ------- ---- ---------- ----- -------- ---- 0 Stored 0 0% 2023-01-29 10:35 00000000 test/ 4 Stored 4 0% 2023-01-29 10:35 4788814e test/abc 4 Stored 4 0% 2023-01-29 10:35 4788814e test/def -------- ------- --- ------- 8 8 0% 3 files
2023-01-29 10:12:20 +00:00
PKG_DEPENDS_TARGET="xmlstarlet:host 7-zip:host"
2015-05-05 12:31:50 +03:00
PKG_SECTION=""
PKG_SHORTDESC="script.config.vdr"
PKG_LONGDESC="script.config.vdr"
PKG_TOOLCHAIN="manual"
2015-05-05 12:31:50 +03:00
PKG_IS_ADDON="yes"
PKG_ADDON_TYPE="dummy"
make_target() {
sed -e "s|@ADDON_VERSION@|${ADDON_VERSION}|g" \
-i addon.xml
2015-05-05 12:31:50 +03:00
}
addon() {
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}
cp -PR ${PKG_BUILD}/* ${ADDON_BUILD}/${PKG_ADDON_ID}
cp ${PKG_DIR}/changelog.txt ${ADDON_BUILD}/${PKG_ADDON_ID}
cp ${PKG_DIR}/icon/icon.png ${ADDON_BUILD}/${PKG_ADDON_ID}/resources
2015-05-05 12:31:50 +03:00
}