update libdaemon to new upstream release (v0.10)
[openwrt.git] / openwrt / package / shat / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=shat
6 PKG_VERSION:=0.9.7
7 PKG_RELEASE:=1
8 PKG_MD5SUM:= da06846f35838b14d1513523dad84d24
9
10 PKG_SOURCE_URL:=http://world.maxina.de/src/
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
16
17 include $(TOPDIR)/package/rules.mk
18
19 $(eval $(call PKG_template,SHAT,shat,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21 $(PKG_BUILD_DIR)/.configured:
22 touch $@
23
24 $(PKG_BUILD_DIR)/.built:
25 $(MAKE) -C $(PKG_BUILD_DIR)/src \
26 CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld \
27 CFLAGS="$(TARGET_CFLAGS) -Wall -I$(PKG_BUILD_DIR)/include/linux/include -I$(PKG_BUILD_DIR)/include -DVERSION=\\\"$(PKG_VERSION)\\\" -DDROP_NETBIOS"
28 touch $@
29
30 $(IPKG_SHAT):
31 install -d -m0755 $(IDIR_SHAT)/usr/sbin
32 install -m0755 $(PKG_BUILD_DIR)/src/shatd $(IDIR_SHAT)/usr/sbin/
33 install -m0755 $(PKG_BUILD_DIR)/src/shatc $(IDIR_SHAT)/usr/sbin/
34 $(RSTRIP) $(IDIR_SHAT)
35 $(IPKG_BUILD) $(IDIR_SHAT) $(PACKAGE_DIR)
This page took 0.040872 seconds and 5 git commands to generate.