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
10 include $(INCLUDE_DIR
)/kernel.mk
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
17 PKG_SOURCE_URL
:=http
://downloads.openwrt.org
/sources
/
18 PKG_MD5SUM
:=b569066ac2ba1356c2112b118a7d74d0
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/keynote
26 DEPENDS
:=@LINUX_2_6
+libopenssl
27 TITLE
:=Simple and flexible trust-management system
29 KeyNote is a simple and flexible trust-management system designed to work
\\\
30 well for a variety of large- and small- scale Internet-based applications.
\\\
31 It provides a single
, unified language for both local policies and
\\\
33 URL
:=http
://www1.cs.columbia.edu
/~angelos
/keynote.html
41 $(call Build
/Compile
/Default
, \
42 LIBS
="$(EXTRA_LDFLAGS) -L. -lkeynote -lm -lcrypto" \
46 define Build
/InstallDev
47 mkdir
-p
$(STAGING_DIR
)/usr
/include
48 $(CP
) $(PKG_BUILD_DIR
)/{assertion
,header
,keynote
,signature
}.h
$(STAGING_DIR
)/usr
/include/
49 mkdir
-p
$(STAGING_DIR
)/usr
/lib
50 $(CP
) $(PKG_BUILD_DIR
)/libkeynote.a
$(STAGING_DIR
)/usr
/lib
/
53 define Build
/UninstallDev
54 rm -rf
$(STAGING_DIR
)/usr
/include/keynote \
55 $(STAGING_DIR
)/usr
/lib
/libkeynote.a
58 define Package
/keynote
/install
59 $(INSTALL_DIR
) $(1)/usr
/sbin
60 $(CP
) $(PKG_BUILD_DIR
)/keynote
$(1)/usr
/sbin
/
63 $(eval
$(call BuildPackage
,keynote
))