semver-sort: add new package

This commit is contained in:
Calin Crisan 2019-12-01 19:02:15 +02:00
parent b08f8cfcdb
commit 2d052bdbe1
3 changed files with 22 additions and 0 deletions

View File

@ -1821,6 +1821,7 @@ menu "Miscellaneous"
source "package/proj/Config.in"
source "package/qemu/Config.in"
source "package/qpdf/Config.in"
source "package/semver-sort/Config.in"
source "package/shared-mime-info/Config.in"
source "package/taskd/Config.in"
source "package/wine/Config.in"

View File

@ -0,0 +1,2 @@
config BR2_PACKAGE_SEMVER_SORT
bool "semver-sort"

View File

@ -0,0 +1,19 @@
################################################################################
#
# semver-sort
#
################################################################################
SEMVER_SORT_VERSION = 7cf3c5c783aeea6c2b8673c92b76cc51a1ec7ad5
SEMVER_SORT_SITE = $(call github,ccrisan,semver-sort,$(SEMVER_SORT_VERSION))
SEMVER_SORT_LICENSE = MIT
define SEMVER_SORT_BUILD_CMDS
make CC="$(TARGET_CC)" -C "$(@D)" semver-sort
endef
define SEMVER_SORT_INSTALL_TARGET_CMDS
cp $(@D)/semver-sort $(TARGET_DIR)/usr/bin/
endef
$(eval $(generic-package))