I'm traying to build a niceshaper package base on this http://ww1.devel.nnd-linux.pl/nnd/pakie … r/PKGBUILD.
My Makefile is in trunk/package/niceshaper and looks like this:
#
# Copyright (C) 2006-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=niceshaper
PKG_VERSION:=0.5.2
PKG_RELEASE:=1
PKG_SOURCE:=niceshaper-0.5.2.tar.bz2
PKG_SOURCE_URL:http://niceshaper.jedwabny.net/files/niceshaper-0.5.2.tar.bz2
PKG_MD5SUM:=caf40370f9a7f1d4a32c6289d4b69522
PKG_CAT:=bzcat
PKG_BUILD_DIR := $(BUILD_DIR)/niceshaper-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/niceshaper
SECTION:=utils
CATEGORY:=Base system
DEPENDS:=+ip +iptables-mod-imq
TITLE:=niceshaper
PKGARCH:=all
endef
define Package/niceshaper/description
NiceShaper gives you dynamic traffic shaping.
endef
define Build/Configure
sed -i 's/sfq/esfq/' niceshaper.cpp || return 1
g++ niceshaper.cpp -o niceshaper || return 1
endef
define Package/bridge/install
endef
$(eval $(call BuildPackage,niceshaper))
I get error
ERROR: please fix package/niceshaper/Makefile
Can someone help me with this ?