source: freewrt/package/shat/Makefile

freewrt_2_0
Last change on this file was c8b93bd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent

git-svn-id: svn://www.freewrt.org/trunk/freewrt@600 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.0 KB
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= shat
10PKG_VERSION:= 0.9.7
11PKG_RELEASE:= 1
12PKG_MD5SUM:= da06846f35838b14d1513523dad84d24
13
14PKG_SOURCE_URL:= http://world.maxina.de/src/
15PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
16
17include $(TOPDIR)/mk/package.mk
18
19$(eval $(call PKG_template,SHAT,shat,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21$(WRKBUILD)/.configured:
22 touch $@
23
24$(WRKBUILD)/.built:
25 $(MAKE) -C $(WRKBUILD)/src \
26 CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld \
27 CFLAGS="$(TARGET_CFLAGS) -Wall -I$(WRKBUILD)/include/linux/include -I$(WRKBUILD)/include -DVERSION=\\\"$(PKG_VERSION)\\\" -DDROP_NETBIOS"
28 touch $@
29
30$(IPKG_SHAT):
31 install -d -m0755 $(IDIR_SHAT)/usr/sbin
32 install -m0755 $(WRKBUILD)/src/shatd $(IDIR_SHAT)/usr/sbin/
33 install -m0755 $(WRKBUILD)/src/shatc $(IDIR_SHAT)/usr/sbin/
34 $(RSTRIP) $(IDIR_SHAT)
35 $(IPKG_BUILD) $(IDIR_SHAT) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.