procd: forgot to update the git id in the last commit
[openwrt.git] / package / system / ca-certificates / Makefile
1
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=ca-certificates
10 PKG_VERSION:=20140325
11
12 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.xz
13 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
14 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/c/ca-certificates
15 PKG_MD5SUM:=0436aba482091da310bd762e1deca8b4
16
17 PKG_INSTALL:=1
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/ca-certificates
22   SECTION:=base
23   CATEGORY:=Base system
24   TITLE:=System CA certificates
25 endef
26
27 define Build/Install
28         mkdir -p \
29                 $(PKG_INSTALL_DIR)/usr/sbin \
30                 $(PKG_INSTALL_DIR)/usr/share/ca-certificates
31         $(call Build/Install/Default,)
32 endef
33
34 define Package/ca-certificates/install
35         $(INSTALL_DIR) $(1)/etc/ssl/certs
36         $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/ca-certificates/*/*.crt $(1)/etc/ssl/certs/
37 endef
38
39 $(eval $(call BuildPackage,ca-certificates))