distribution/packages/sysutils/gptfdisk/package.mk

20 lines
576 B
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="gptfdisk"
2022-11-03 01:24:43 +00:00
PKG_VERSION="1.0.9"
2022-02-05 14:23:32 +00:00
PKG_LICENSE="GPL"
PKG_SITE="http://www.rodsbooks.com/gdisk/"
2023-02-24 13:53:43 +00:00
PKG_URL="https://downloads.sourceforge.net/project/${PKG_NAME}/${PKG_NAME}/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
2022-02-05 14:23:32 +00:00
PKG_DEPENDS_TARGET="toolchain popt crossguid"
PKG_LONGDESC="GPT text-mode partitioning tools"
make_target() {
2023-02-24 13:53:43 +00:00
make sgdisk "CC=${CC}" "CXX=${CXX}"
2022-02-05 14:23:32 +00:00
}
makeinstall_target() {
2023-02-24 13:53:43 +00:00
mkdir -p ${INSTALL}/usr/sbin/
cp -p sgdisk ${INSTALL}/usr/sbin/
2022-02-05 14:23:32 +00:00
}