packages: ipv6/tayga: move static mappings to 'firewall' config
[openwrt/svn-archive/archive.git] / libs / keynote / 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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=keynote
11 PKG_VERSION:=2.3
12 PKG_RELEASE:=2
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
16 PKG_MD5SUM:=b569066ac2ba1356c2112b118a7d74d0
17
18 PKG_BUILD_PARALLEL:=0
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/keynote
23 SECTION:=net
24 CATEGORY:=Network
25 DEPENDS:=+libopenssl
26 TITLE:=Simple and flexible trust-management system
27 URL:=http://www1.cs.columbia.edu/~angelos/keynote.html
28 endef
29
30 define Package/keynote/description
31 KeyNote is a simple and flexible trust-management system designed to work
32 well for a variety of large- and small- scale Internet-based applications.
33 It provides a single, unified language for both local policies and
34 credentials.
35 endef
36
37 CONFIGURE_ARGS += \
38 --enable-static \
39 --enable-shared
40
41 MAKE_FLAGS += \
42 CFLAGS="$(TARGET_CFLAGS)"
43
44 define Build/InstallDev
45 $(INSTALL_DIR) $(1)/usr/include/keynote
46 $(CP) $(PKG_BUILD_DIR)/{assertion,header,keynote,signature}.h $(1)/usr/include/keynote/
47 $(INSTALL_DIR) $(1)/usr/lib
48 $(CP) $(PKG_BUILD_DIR)/libkeynote.a $(1)/usr/lib/
49 endef
50
51 define Package/keynote/install
52 $(INSTALL_DIR) $(1)/usr/sbin
53 $(INSTALL_BIN) $(PKG_BUILD_DIR)/keynote $(1)/usr/sbin/
54 endef
55
56 $(eval $(call BuildPackage,keynote))