source: freewrt/package/aiccu/Makefile@ 6fc4520e

freewrt_1_0 freewrt_2_0
Last change on this file since 6fc4520e 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.2 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:= aiccu
10PKG_VERSION:= 2005.01.31
11PKG_RELEASE:= 1
12PKG_MD5SUM:= 7c3da5feab3d59fb5a99a45203e0ca56
13PKG_INIT:= 60
14
15PKG_SOURCE_URL:= http://www.sixxs.net/archive/sixxs/aiccu/unix
16PKG_SOURCE:= $(PKG_NAME)_$(PKG_VERSION).tar.gz
17
18WRKSRC= ${WRKDIR}/$(PKG_NAME)
19
20include $(TOPDIR)/mk/package.mk
21
22$(eval $(call PKG_template,AICCU,aiccu,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
23
24$(WRKBUILD)/.configured:
25 $(SED) "s,strip,$(STRIP)," $(WRKBUILD)/unix-console/Makefile
26 touch $@
27
28$(WRKBUILD)/.built:
29 $(MAKE) -C $(WRKBUILD) \
30 CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" \
31 DEBUG=0
32 touch $@
33
34$(IPKG_AICCU):
35 $(INSTALL_DIR) $(IDIR_AICCU)/usr/sbin
36 $(INSTALL_DIR) $(IDIR_AICCU)/etc/init.d
37 $(INSTALL_BIN) $(WRKBUILD)/unix-console/$(PKG_NAME) $(IDIR_AICCU)/usr/sbin/
38 $(INSTALL_BIN) ./files/aiccu.init \
39 $(IDIR_AICCU)/etc/init.d/S$(PKG_INIT)aiccu
40 $(INSTALL_DATA) $(WRKBUILD)/doc/aiccu.conf $(IDIR_AICCU)/etc/aiccu.conf
41 $(RSTRIP) $(IDIR_AICCU)
42 $(IPKG_BUILD) $(IDIR_AICCU) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.