fix cgi-bin directory handling (#1764)
[openwrt.git] / package / 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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=keynote
12 PKG_VERSION:=2.3
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
17 PKG_MD5SUM:=b569066ac2ba1356c2112b118a7d74d0
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/keynote
22 SECTION:=net
23 CATEGORY:=Network
24 DEPENDS:=@LINUX_2_6 +libopenssl
25 TITLE:=Simple and flexible trust-management system
26 DESCRIPTION:=\
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 \\\
30 credentials.
31 URL:=http://www1.cs.columbia.edu/~angelos/keynote.html
32 endef
33
34 CONFIGURE_ARGS += \
35 --enable-static \
36 --enable-shared
37
38 define Build/InstallDev
39 mkdir -p $(STAGING_DIR)/usr/include/keynote
40 $(CP) $(PKG_BUILD_DIR)/{assertion,header,keynote,signature}.h $(STAGING_DIR)/usr/include/keynote/
41 mkdir -p $(STAGING_DIR)/usr/lib
42 $(CP) $(PKG_BUILD_DIR)/libkeynote.a $(STAGING_DIR)/usr/lib/
43 endef
44
45 define Build/UninstallDev
46 rm -rf $(STAGING_DIR)/usr/include/keynote \
47 $(STAGING_DIR)/usr/lib/libkeynote.a
48 endef
49
50 define Package/keynote/install
51 $(INSTALL_DIR) $(1)/usr/sbin
52 $(INSTALL_BIN) $(PKG_BUILD_DIR)/keynote $(1)/usr/sbin/
53 endef
54
55 $(eval $(call BuildPackage,keynote))
This page took 0.042826 seconds and 5 git commands to generate.