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.
7 # $Id: Makefile 6372 2007-02-25 23:34:57Z nbd $
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/libcgi
17 PKG_MD5SUM:=110af367081d33c7ed6527a1a60fc274
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
22 include $(INCLUDE_DIR)/package.mk
24 define Build/InstallDev
25 mkdir -p $(STAGING_DIR)/usr/include $(STAGING_DIR)/usr/lib
26 $(MAKE) -C $(PKG_BUILD_DIR) \
27 prefix="$(STAGING_DIR)/usr" \
31 $(eval $(call Build/DefaultTargets))