fix kmod-* build error when wildcards are being used in $(FILES)
[openwrt.git] / package / haserl / Makefile
index 2bb9fc9..aa0413e 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,22 @@ 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
+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 $(1)/usr/bin
-       install -m0755 $(PKG_INSTALL_DIR)/usr/bin/haserl $(1)/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.023514 seconds and 4 git commands to generate.