aboutsummaryrefslogtreecommitdiff
path: root/admin/debian-archive-keyring/Makefile
blob: 305176d578397423046feae546bc1228601296ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk

PKG_NAME:=debian-archive-keyring
PKG_VERSION:=2023.4
PKG_HASH:=6e93a87b9e50bd81518880ec07a62f95d7d8452f4aa703f5b0a3076439f1022c
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION)_all.deb
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/d/$(PKG_NAME)/
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)

PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=Unique
PKG_LICENSE_FILES:=usr/share/doc/debian-archive-keyring/copyright

include $(INCLUDE_DIR)/package.mk

define Package/debian-archive-keyring
  SECTION:=admin
  CATEGORY:=Administration
  TITLE:=Debian Archive keyring
  URL:=https://salsa.debian.org/release-team/debian-archive-keyring
  PKGARCH:=all
endef

define Build/Prepare
	$(AR) p $(DL_DIR)/$(PKG_SOURCE) data.tar.xz | $(TAR) -xJC $(PKG_BUILD_DIR)
endef

define Build/Configure
endef

define Build/Compile
endef

define Package/debian-archive-keyring/install
	$(INSTALL_DIR) $(1)/usr/share/keyrings
	$(INSTALL_DATA) $(PKG_BUILD_DIR)/usr/share/keyrings/*.gpg $(1)/usr/share/keyrings
endef

$(eval $(call BuildPackage,debian-archive-keyring))