add hdparm package (thanks to Tomas Vanek)
[openwrt.git] / package / miax / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=miax
6 PKG_VERSION:=1.4
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=44f0d2ef46ee2697d890b7b96846adc7
9
10 PKG_SOURCE_URL:=http://mesh.dl.sourceforge.net/sourceforge/miax/
11 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
15
16 include $(TOPDIR)/package/rules.mk
17
18 $(eval $(call PKG_template,MIAX,miax,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20 $(PKG_BUILD_DIR)/.configured:
21 touch $@
22
23 $(PKG_BUILD_DIR)/.built:
24 $(MAKE) -C "$(PKG_BUILD_DIR)" \
25 CC="$(TARGET_CC)" \
26 OFLAGS="$(TARGET_CFLAGS)" \
27 CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
28 LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
29 all
30 touch $@
31
32 $(IPKG_MIAX):
33 install -d -m0755 $(IDIR_MIAX)/usr/bin
34 install -m0755 $(PKG_BUILD_DIR)/miax $(IDIR_MIAX)/usr/bin/
35 $(RSTRIP) $(IDIR_MIAX)
36 $(IPKG_BUILD) $(IDIR_MIAX) $(PACKAGE_DIR)
This page took 0.037336 seconds and 5 git commands to generate.