Changeset c8b93bd in freewrt for package/aiccu/Makefile


Ignore:
Timestamp:
Sep 16, 2006, 6:21:37 PM (19 years ago)
Author:
Waldemar Brodkorb <wbx@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
9036ea5
Parents:
8e47882
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package/aiccu/Makefile

    r8e47882 rc8b93bd  
    1 # $Id: Makefile 947 2005-05-19 05:28:28Z nico $
     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.
    26
    37include $(TOPDIR)/rules.mk
    48
    5 PKG_NAME:=aiccu
    6 PKG_VERSION:=2005.01.31
    7 PKG_RELEASE:=1
    8 PKG_MD5SUM:=7c3da5feab3d59fb5a99a45203e0ca56
     9PKG_NAME:=              aiccu
     10PKG_VERSION:=           2005.01.31
     11PKG_RELEASE:=           1
     12PKG_MD5SUM:=            7c3da5feab3d59fb5a99a45203e0ca56
     13PKG_INIT:=              60
    914
    10 PKG_SOURCE_URL:=http://www.sixxs.net/archive/sixxs/aiccu/unix
    11 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
     15PKG_SOURCE_URL:=        http://www.sixxs.net/archive/sixxs/aiccu/unix
     16PKG_SOURCE:=            $(PKG_NAME)_$(PKG_VERSION).tar.gz
    1217
    1318WRKSRC=                 ${WRKDIR}/$(PKG_NAME)
    1419
    15 include $(TOPDIR)/package/rules.mk
     20include $(TOPDIR)/mk/package.mk
    1621
    1722$(eval $(call PKG_template,AICCU,aiccu,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
     
    2328$(WRKBUILD)/.built:
    2429        $(MAKE) -C $(WRKBUILD) \
    25                 CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" DEBUG=0
     30                CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" \
     31                DEBUG=0
    2632        touch $@
    2733
    2834$(IPKG_AICCU):
    29         mkdir -p $(IDIR_AICCU)/usr/sbin $(IDIR_AICCU)/etc/init.d
    30         install -m 755 $(WRKBUILD)/unix-console/$(PKG_NAME) $(IDIR_AICCU)/usr/sbin/
    31         install -m 755 ./files/aiccu.init $(IDIR_AICCU)/etc/init.d/S51aiccu
    32         install -m 644 $(WRKBUILD)/doc/aiccu.conf $(IDIR_AICCU)/etc/aiccu.conf
    33         $(STRIP) $(IDIR_AICCU)/usr/sbin/*
     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)
    3442        $(IPKG_BUILD) $(IDIR_AICCU) $(PACKAGE_DIR)
    35 
Note: See TracChangeset for help on using the changeset viewer.