add libcgi
[openwrt/svn-archive/archive.git] / package / libcgi / 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: Makefile 6372 2007-02-25 23:34:57Z nbd $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=libcgi
12 PKG_VERSION:=1.0
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/libcgi
17 PKG_MD5SUM:=110af367081d33c7ed6527a1a60fc274
18 PKG_CAT:=zcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Build/InstallDev
25 $(MAKE) -C $(PKG_BUILD_DIR) \
26 prefix="$(STAGING_DIR)/usr" \
27 install
28 endef
29
30 $(eval $(call Build/DefaultTargets))