add SoC support to madwifi
[openwrt.git] / package / haserl / Makefile
index 8f35fbf..15b64f7 100644 (file)
@@ -1,3 +1,9 @@
+# 
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
 # $Id$
 
 include $(TOPDIR)/rules.mk
@@ -6,25 +12,25 @@ PKG_NAME:=haserl
 PKG_VERSION:=0.8.0
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/haserl
 PKG_MD5SUM:=bd9195d086566f56634c0bcbbbcbebea
 PKG_CAT:=zcat
 
-include $(TOPDIR)/package/rules.mk
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
 
 define Package/haserl
-SECTION:=base
-# CATEGORY:=FIXME
-TITLE:=A CGI wrapper to embed shell scripts in HTML documents
-DESCRIPTION:=A CGI wrapper to embed shell scripts in HTML documents.
-URL:=http://haserl.sourceforge.net/
+  SECTION:=utils
+  CATEGORY:=Utilities
+  TITLE:=A CGI wrapper to embed shell scripts in HTML documents
+  URL:=http://haserl.sourceforge.net/
 endef
 
 define Package/haserl/install
-       install -m0755 -d $(IDIR_HASERL)/usr/bin
-       install -m0755 $(PKG_INSTALL_DIR)/usr/bin/haserl $(IDIR_HASERL)/usr/bin/
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/haserl $(1)/usr/bin/
 endef
 
 $(eval $(call BuildPackage,haserl))
This page took 0.01962 seconds and 4 git commands to generate.