| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | include $(TOPDIR)/rules.mk |
| 2 | include $(INCLUDE_DIR)/kernel.mk |
| 3 | |
| 4 | PKG_NAME:=debian-archive-keyring |
| 5 | PKG_VERSION:=2021.1.1 |
| 6 | PKG_RELEASE:=$(AUTORELEASE) |
| 7 | |
| 8 | PKG_SOURCE:=debian-archive-keyring_2021.1.1_all.deb |
| 9 | PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/d/debian-archive-keyring/ |
| 10 | PKG_HASH:=56beca470dcd9b6d7e6c3c9e9d702101e01e9467e62810a8c357bd7b9c26251d |
| 11 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
| 12 | |
| 13 | PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org> |
| 14 | PKG_LICENSE:=Unique |
| 15 | PKG_LICENSE_FILES:=usr/share/doc/debian-archive-keyring/copyright |
| 16 | |
| 17 | include $(INCLUDE_DIR)/package.mk |
| 18 | |
| 19 | define 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 |
| 25 | endef |
| 26 | |
| 27 | define Build/Prepare |
| 28 | $(AR) p $(DL_DIR)/$(PKG_SOURCE) data.tar.xz | $(TAR) -xJC $(PKG_BUILD_DIR) |
| 29 | endef |
| 30 | |
| 31 | define Build/Configure |
| 32 | endef |
| 33 | |
| 34 | define Build/Compile |
| 35 | endef |
| 36 | |
| 37 | define 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 |
| 40 | endef |
| 41 | |
| 42 | $(eval $(call BuildPackage,debian-archive-keyring)) |