source: freewrt/package/robocfg/Makefile@ 44d21b6

freewrt_1_0 freewrt_2_0
Last change on this file since 44d21b6 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: 825 bytes
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:= robocfg
10PKG_VERSION:= 0.01
11PKG_RELEASE:= 1
12
13WRKSRC= ${WRKDIR}/robocfg
14DISTFILES:=
15
16include $(TOPDIR)/mk/package.mk
17
18$(eval $(call PKG_template,ROBOCFG,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20$(WRKBUILD)/.prepared:
21 mkdir -p $(WRKBUILD)
22 touch $@
23
24$(WRKBUILD)/.configured:
25 touch $@
26
27$(WRKBUILD)/.built:
28 $(TARGET_CC) $(TARGET_CFLAGS) -o $(WRKBUILD)/robocfg robocfg.c
29 touch $@
30
31$(IPKG_ROBOCFG):
32 install -d -m0755 $(IDIR_ROBOCFG)/sbin
33 install -m0755 $(WRKBUILD)/robocfg $(IDIR_ROBOCFG)/sbin/
34 $(RSTRIP) $(IDIR_ROBOCFG)
35 $(IPKG_BUILD) $(IDIR_ROBOCFG) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.