summaryrefslogtreecommitdiffstats
path: root/openwrt/package/miax/Makefile
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-30 00:59:59 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-30 00:59:59 +0000
commitd202a2c92560dd5e768830d00fc5e225a13df998 (patch)
tree7eae8f1b6babcc912f03c17a7142894c3dbc645f /openwrt/package/miax/Makefile
parent6894f2b2348da2ce554d2b460e5bd40d6d25f56a (diff)
add miax package (thanks to Markus Becker)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2570 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/miax/Makefile')
-rw-r--r--openwrt/package/miax/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/openwrt/package/miax/Makefile b/openwrt/package/miax/Makefile
new file mode 100644
index 000000000..e121f8df1
--- /dev/null
+++ b/openwrt/package/miax/Makefile
@@ -0,0 +1,36 @@
+# $Id$
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=miax
+PKG_VERSION:=1.4
+PKG_RELEASE:=1
+PKG_MD5SUM:=44f0d2ef46ee2697d890b7b96846adc7
+
+PKG_SOURCE_URL:=http://mesh.dl.sourceforge.net/sourceforge/miax/
+PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
+PKG_CAT:=zcat
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
+
+include $(TOPDIR)/package/rules.mk
+
+$(eval $(call PKG_template,MIAX,miax,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+
+$(PKG_BUILD_DIR)/.configured:
+ touch $@
+
+$(PKG_BUILD_DIR)/.built:
+ $(MAKE) -C "$(PKG_BUILD_DIR)" \
+ CC="$(TARGET_CC)" \
+ OFLAGS="$(TARGET_CFLAGS)" \
+ CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
+ LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
+ all
+ touch $@
+
+$(IPKG_MIAX):
+ install -d -m0755 $(IDIR_MIAX)/usr/bin
+ install -m0755 $(PKG_BUILD_DIR)/miax $(IDIR_MIAX)/usr/bin/
+ $(RSTRIP) $(IDIR_MIAX)
+ $(IPKG_BUILD) $(IDIR_MIAX) $(PACKAGE_DIR)