summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-11 05:07:58 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-11 05:07:58 +0000
commit45cc6df7df47d32ec35a37b29d6af5cf57011a85 (patch)
treec6a060854d06a592b463f9d8d72e0951ab75e2e3
parentb9301d8b8f4c6afa1a6cc9505ac3ebaf512b19bb (diff)
add libcgi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6548 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/libcgi/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/libcgi/Makefile b/package/libcgi/Makefile
new file mode 100644
index 000000000..5bd730224
--- /dev/null
+++ b/package/libcgi/Makefile
@@ -0,0 +1,30 @@
+#
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+# $Id: Makefile 6372 2007-02-25 23:34:57Z nbd $
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=libcgi
+PKG_VERSION:=1.0
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=@SF/libcgi
+PKG_MD5SUM:=110af367081d33c7ed6527a1a60fc274
+PKG_CAT:=zcat
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+
+define Build/InstallDev
+ $(MAKE) -C $(PKG_BUILD_DIR) \
+ prefix="$(STAGING_DIR)/usr" \
+ install
+endef
+
+$(eval $(call Build/DefaultTargets))