# $FreeWRT$ #- # This file is part of the FreeWRT project. FreeWRT is copyrighted # material, please see the LICENCE file in the top-level directory # or at http://www.freewrt.org/licence for details. include $(TOPDIR)/rules.mk PKG_NAME:= smcroute PKG_VERSION:= 0.92 PKG_RELEASE:= 1 PKG_MD5SUM:= 2b50e7166606ec90e09682399e69c4a6 PKG_INIT:= 70 PKG_SOURCE_URL:= http://www.cschill.de/smcroute/ PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tgz include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,SMCROUTE,smcroute,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(WRKBUILD)/.built: $(MAKE) -C $(WRKBUILD)/src \ CC=$(TARGET_CC) \ all touch $@ $(IPKG_SMCROUTE): install -d -m0755 $(IDIR_SMCROUTE)/usr/bin install -m0755 $(WRKBUILD)/src/smcroute $(IDIR_SMCROUTE)/usr/bin/ install -m0755 $(WRKBUILD)/src/mcsender $(IDIR_SMCROUTE)/usr/bin/ install -d -m0755 $(IDIR_SMCROUTE)/etc/init.d install -m0755 ./files/smcroute.init $(IDIR_SMCROUTE)/etc/init.d/S$(PKG_INIT)smcroute $(RSTRIP) $(IDIR_SMCROUTE) $(IPKG_BUILD) $(IDIR_SMCROUTE) $(PACKAGE_DIR)