distribution/packages/sysutils/umtprd/package.mk
Christophe Branchereau b64ee278f6 Packages: add umtprd
Signed-off-by: Christophe Branchereau <cbranchereau@gmail.com>
2024-01-15 00:12:20 +01:00

19 lines
674 B
Makefile

# SPDX-License-Identifier: GPL-2.0
PKG_NAME="umtprd"
PKG_VERSION="1.6.2"
PKG_SHA256="1de40511c1dd4618719cff2058dfe68a595f1b9284c80afa89d6d1a1c80aec29"
PKG_LICENSE="GPL-3.0+"
PKG_SITE="https://github.com/viveris/uMTP-Responder/"
PKG_URL="https://github.com/viveris/uMTP-Responder/archive/umtprd-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Lightweight USB Media Transfer Protocol (MTP) responder daemon for GNU/Linux"
PKG_TOOLCHAIN="make"
makeinstall_target() {
mkdir -p ${INSTALL}/usr/sbin/
cp umtprd ${INSTALL}/usr/sbin/
chmod 755 ${INSTALL}/usr/sbin/umtprd
mkdir -p ${INSTALL}/etc/umtprd
cp ${PKG_DIR}/etc/umtprd.conf ${INSTALL}/etc/umtprd
}