[Mod] First commit

This commit is contained in:
2022-10-31 22:18:58 +08:00
commit 1c8a3d9709
13090 changed files with 526733 additions and 0 deletions

11
package/umtprd/Config.in Normal file
View File

@ -0,0 +1,11 @@
config BR2_PACKAGE_UMTPRD
bool "umtprd"
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
help
Lightweight USB MTP responder daemon for GNU/Linux
https://github.com/viveris/uMTP-Responder
comment "umtprd needs a toolchain w/ threads, headers >= 3.15"
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15

View File

@ -0,0 +1,3 @@
# Locally computed
sha256 1de40511c1dd4618719cff2058dfe68a595f1b9284c80afa89d6d1a1c80aec29 umtprd-1.6.2.tar.gz
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE

20
package/umtprd/umtprd.mk Normal file
View File

@ -0,0 +1,20 @@
################################################################################
#
# umtprd
#
################################################################################
UMTPRD_VERSION = 1.6.2
UMTPRD_SITE = https://github.com/viveris/uMTP-Responder/archive
UMTPRD_LICENSE = GPL-3.0+
UMTPRD_LICENSE_FILES = LICENSE
define UMTPRD_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef
define UMTPRD_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/umtprd $(TARGET_DIR)/usr/sbin/umtprd
endef
$(eval $(generic-package))