diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-08-29 11:30:35 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-08-29 11:30:35 +0000 |
commit | 308827eb4d3165053f5bfaeeb3ae10bbc995fd14 (patch) | |
tree | c83c02bec0dc98cc7d7f2287c1be5733ec238dae /package/wiviz/Makefile | |
parent | dfd060f33a8b97c131207384da765de77f1f45f3 (diff) | |
download | upstream-308827eb4d3165053f5bfaeeb3ae10bbc995fd14.tar.gz upstream-308827eb4d3165053f5bfaeeb3ae10bbc995fd14.tar.bz2 upstream-308827eb4d3165053f5bfaeeb3ae10bbc995fd14.zip |
add Wi-viz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1785 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/wiviz/Makefile')
-rw-r--r-- | package/wiviz/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/package/wiviz/Makefile b/package/wiviz/Makefile new file mode 100644 index 0000000000..e3453f6cc2 --- /dev/null +++ b/package/wiviz/Makefile @@ -0,0 +1,42 @@ +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=wiviz +PKG_VERSION:=1.0 +PKG_RELEASE:=1 + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + +include $(TOPDIR)/package/rules.mk + +$(eval $(call PKG_template,WIVIZ,wiviz,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) + +$(PKG_BUILD_DIR)/.prepared: + mkdir -p $(PKG_BUILD_DIR) + cp -fpR ./src/* $(PKG_BUILD_DIR)/ + touch $@ + +$(PKG_BUILD_DIR)/.configured: + touch $@ + +$(PKG_BUILD_DIR)/.built: + $(MAKE) -C $(PKG_BUILD_DIR) \ + CC="$(TARGET_CC)" \ + COPTS="$(TARGET_CFLAGS)" \ + INCLUDE="-I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include" \ + LDFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" + touch $@ + +$(IPKG_WIVIZ): + mkdir -p $(IDIR_WIVIZ)/usr/sbin + cp $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_WIVIZ)/usr/sbin/ + $(RSTRIP) $(IDIR_WIVIZ) + cp -fpR ./files/* $(IDIR_WIVIZ) + find $(IDIR_WIVIZ) -name CVS | xargs rm -rf + find $(IDIR_WIVIZ) -name .svn | xargs rm -rf + $(IPKG_BUILD) $(IDIR_WIVIZ) $(PACKAGE_DIR) + +mostlyclean: + $(MAKE) -C $(PKG_BUILD_DIR) clean + rm -f $(PKG_BUILD_DIR)/.built |