# $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:= pipacs PKG_RELEASE:= 2 WRKSRC= ${WRKDIR}/$(PKG_NAME) DISTFILES:= include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,PIPACS,pipacs,$(PKG_RELEASE),$(ARCH))) $(WRKBUILD)/.prepared: mkdir -p $(WRKBUILD) $(CP) ./src/* $(WRKBUILD) touch $@ $(WRKBUILD)/.configured: touch $@ $(WRKBUILD)/.built: $(MAKE) -C $(WRKBUILD) \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) -I $(STAGING_DIR)/usr/include" \ all touch $@ $(IPKG_PIPACS): mkdir -p $(IDIR_PIPACS)/usr/bin install -m0755 $(WRKBUILD)/pipacs $(IDIR_PIPACS)/usr/bin $(RSTRIP) $(IDIR_PIPACS) $(IPKG_BUILD) $(IDIR_PIPACS) $(PACKAGE_DIR)