add libcgi
authorFelix Fietkau <nbd@openwrt.org>
Sun, 11 Mar 2007 05:07:58 +0000 (05:07 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 11 Mar 2007 05:07:58 +0000 (05:07 +0000)
SVN-Revision: 6548

package/libcgi/Makefile [new file with mode: 0644]

diff --git a/package/libcgi/Makefile b/package/libcgi/Makefile
new file mode 100644 (file)
index 0000000..5bd7302
--- /dev/null
@@ -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))