blob: 21c906afeebd8f91f44a067687c8f0e28b73e437 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001include $(TOPDIR)/rules.mk
2include $(INCLUDE_DIR)/kernel.mk
3
4PKG_NAME:=debian-archive-keyring
5PKG_VERSION:=2021.1.1
6PKG_RELEASE:=$(AUTORELEASE)
7
8PKG_SOURCE:=debian-archive-keyring_2021.1.1_all.deb
9PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/d/debian-archive-keyring/
10PKG_HASH:=56beca470dcd9b6d7e6c3c9e9d702101e01e9467e62810a8c357bd7b9c26251d
11PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
12
13PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
14PKG_LICENSE:=Unique
15PKG_LICENSE_FILES:=usr/share/doc/debian-archive-keyring/copyright
16
17include $(INCLUDE_DIR)/package.mk
18
19define Package/debian-archive-keyring
20 SECTION:=admin
21 CATEGORY:=Administration
22 TITLE:=Debian Archive keyring
23 URL:=https://salsa.debian.org/release-team/debian-archive-keyring
24 PKGARCH:=all
25endef
26
27define Build/Prepare
28 $(AR) p $(DL_DIR)/$(PKG_SOURCE) data.tar.xz | $(TAR) -xJC $(PKG_BUILD_DIR)
29endef
30
31define Build/Configure
32endef
33
34define Build/Compile
35endef
36
37define Package/debian-archive-keyring/install
38 $(INSTALL_DIR) $(1)/usr/share/keyrings
39 $(INSTALL_DATA) $(PKG_BUILD_DIR)/usr/share/keyrings/*.gpg $(1)/usr/share/keyrings
40endef
41
42$(eval $(call BuildPackage,debian-archive-keyring))