-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
config BR2_PACKAGE_KPOD | ||
bool "kpod" | ||
default y | ||
depends on BR2_x86_64 | ||
depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS | ||
depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS | ||
depends on BR2_TOOLCHAIN_HAS_THREADS | ||
select BR2_PACKAGE_LIBSECCOMP | ||
select BR2_PACKAGE_LIBGPGME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Locally computed | ||
sha256 b8607ac0fc4cea5f66cdf6d628bf74550d4bfb62ed279c965499691a87a1bcc6 b85d0fa4ea5b6515088a3475a56a44c0cee5bfc5.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
KPOD_VERSION = b85d0fa4ea5b6515088a3475a56a44c0cee5bfc5 | ||
KPOD_SITE = https://github.com/projectatomic/libpod/archive | ||
KPOD_SOURCE = $(KPOD_VERSION).tar.gz | ||
KPOD_LICENSE = Apache-2.0 | ||
KPOD_LICENSE_FILES = LICENSE | ||
|
||
KPOD_DEPENDENCIES = host-go | ||
|
||
KPOD_GOPATH = $(@D)/_output | ||
KPOD_BIN_ENV = \ | ||
CGO_ENABLED=1 \ | ||
GOPATH="$(KPOD_GOPATH)" \ | ||
PATH=$(KPOD_GOPATH)/bin:$(BR_PATH) | ||
|
||
|
||
define KPOD_CONFIGURE_CMDS | ||
mkdir -p $(KPOD_GOPATH)/src/github.com/projectatomic | ||
ln -sf $(@D) $(KPOD_GOPATH)/src/github.com/projectatomic/libpod | ||
$(KPOD_BIN_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) install.tools DESTDIR=$(TARGET_DIR) PREFIX=$(TARGET_DIR)/usr | ||
endef | ||
|
||
define KPOD_BUILD_CMDS | ||
mkdir -p $(@D)/bin | ||
$(KPOD_BIN_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) PREFIX=/usr kpod | ||
endef | ||
|
||
define KPOD_INSTALL_TARGET_CMDS | ||
$(INSTALL) -Dm755 $(@D)/bin/kpod $(TARGET_DIR)/usr/bin/kpod | ||
endef | ||
|
||
$(eval $(generic-package)) |