2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=http
://downloads.openwrt.org
/sources
/
17 PKG_MD5SUM
:=b569066ac2ba1356c2112b118a7d74d0
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/keynote
24 DEPENDS
:=@LINUX_2_6
+libopenssl
25 TITLE
:=Simple and flexible trust-management system
27 KeyNote is a simple and flexible trust-management system designed to work
\\\
28 well for a variety of large- and small- scale Internet-based applications.
\\\
29 It provides a single
, unified language for both local policies and
\\\
31 URL
:=http
://www1.cs.columbia.edu
/~angelos
/keynote.html
39 CFLAGS
="$(TARGET_CFLAGS)"
41 define Build
/InstallDev
42 mkdir
-p
$(STAGING_DIR
)/usr
/include/keynote
43 $(CP
) $(PKG_BUILD_DIR
)/{assertion
,header
,keynote
,signature
}.h
$(STAGING_DIR
)/usr
/include/keynote
/
44 mkdir
-p
$(STAGING_DIR
)/usr
/lib
45 $(CP
) $(PKG_BUILD_DIR
)/libkeynote.a
$(STAGING_DIR
)/usr
/lib
/
48 define Build
/UninstallDev
49 rm -rf
$(STAGING_DIR
)/usr
/include/keynote \
50 $(STAGING_DIR
)/usr
/lib
/libkeynote.a
53 define Package
/keynote
/install
54 $(INSTALL_DIR
) $(1)/usr
/sbin
55 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/keynote
$(1)/usr
/sbin
/
58 $(eval
$(call BuildPackage
,keynote
))