apk-tools recipe
This commit is contained in:
parent
8836b264a8
commit
9f14fff2c1
1
recipes/apk-tools/FIXME
Normal file
1
recipes/apk-tools/FIXME
Normal file
@ -0,0 +1 @@
|
||||
FIXME: directories created during "install:" are removed during packaging.
|
22
recipes/apk-tools/Makefile
Normal file
22
recipes/apk-tools/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
name = apk-tools
|
||||
version = 2.10.5
|
||||
release = 0
|
||||
URL = https://dev.alpinelinux.org/archive/apk-tools/apk-tools-$(version).tar.xz
|
||||
|
||||
build-dependencies = lua5.3-dev
|
||||
|
||||
MAKE_OPTIONS_USER = LUAAPK=static
|
||||
|
||||
# FIXME: these directories are removed during packaging.
|
||||
|
||||
install:
|
||||
mkdir -p '$(pkg_fake_root_dir)/sbin'
|
||||
cp $(bdir)/src/apk.static '$(pkg_fake_root_dir)/sbin/apk'
|
||||
mkdir -p '$(pkg_fake_root_dir)/var/lib/apk'
|
||||
mkdir -p '$(pkg_fake_root_dir)/var/cache/misc'
|
||||
mkdir -p '$(pkg_fake_root_dir)/etc/apk/keys'
|
||||
mkdir -p '$(pkg_fake_root_dir)/etc/apk/protected_paths.d'
|
||||
|
||||
|
||||
SYSCONF ?= ../../
|
||||
include $(SYSCONF)/package.mk
|
Loading…
Reference in New Issue
Block a user