Changeset c8b93bd in freewrt for package/bluez-libs/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/bluez-libs/Makefile

    r8e47882 rc8b93bd  
    1 # $Id: Makefile 3112 2006-02-01 23:53:19Z mbm $
     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:=bluez-libs
    6 PKG_VERSION:=2.24
    7 PKG_RELEASE:=1
    8 PKG_MD5SUM:=d0ba50e251ae1e7f2c09024facde8e40
     9PKG_NAME:=              bluez-libs
     10PKG_VERSION:=           2.24
     11PKG_RELEASE:=           1
     12PKG_MD5SUM:=            d0ba50e251ae1e7f2c09024facde8e40
    913
    10 PKG_SOURCE_URL:=http://bluez.sourceforge.net/download
    11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
     14PKG_SOURCE_URL:=        http://bluez.sourceforge.net/download
     15PKG_SOURCE:=            $(PKG_NAME)-$(PKG_VERSION).tar.gz
    1216
    13 
    14 include $(TOPDIR)/package/rules.mk
     17include $(TOPDIR)/mk/package.mk
    1518
    1619$(eval $(call PKG_template,BLUEZ_LIBS,bluez-libs,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
     
    4952
    5053$(WRKBUILD)/.built:
    51         rm -rf $(WRKINST)
    52         mkdir -p $(WRKINST)
    5354        $(MAKE) -C $(WRKBUILD) \
    5455                DESTDIR="$(WRKINST)" \
     
    5758
    5859$(IPKG_BLUEZ_LIBS):
    59         install -d -m0755 $(IDIR_BLUEZ_LIBS)/usr/lib
    60         $(CP) $(WRKINST)/usr/lib/libbluetooth.so.* $(IDIR_BLUEZ_LIBS)/usr/lib/
     60        $(INSTALL_DIR) $(IDIR_BLUEZ_LIBS)/usr/lib
     61        $(INSTALL_DATA) $(WRKINST)/usr/lib/libbluetooth.so.* $(IDIR_BLUEZ_LIBS)/usr/lib/
    6162        $(RSTRIP) $(IDIR_BLUEZ_LIBS)
    6263        $(IPKG_BUILD) $(IDIR_BLUEZ_LIBS) $(PACKAGE_DIR)
    6364
    6465$(STAGING_DIR)/usr/lib/libbluetooth.so: $(WRKBUILD)/.built
    65         mkdir -p $(STAGING_DIR)/usr/include/bluetooth
    66         $(CP) $(WRKINST)/usr/include/bluetooth/*.h $(STAGING_DIR)/usr/include/bluetooth
    67         mkdir -p $(STAGING_DIR)/usr/lib
    68         $(CP) $(WRKINST)/usr/lib/libbluetooth.{a,so*} $(STAGING_DIR)/usr/lib/
     66        $(INSTALL_DIR) $(STAGING_DIR)/usr/include/bluetooth
     67        $(INSTALL_DIR) $(STAGING_DIR)/usr/lib
     68        $(INSTALL_DATA) $(WRKINST)/usr/include/bluetooth/*.h $(STAGING_DIR)/usr/include/bluetooth
     69        $(INSTALL_DATA) $(WRKINST)/usr/lib/libbluetooth.a $(STAGING_DIR)/usr/lib/
     70        $(INSTALL_DATA) $(WRKINST)/usr/lib/libbluetooth.so* $(STAGING_DIR)/usr/lib/
    6971
    7072install-dev: $(STAGING_DIR)/usr/lib/libbluetooth.so
     
    7274uninstall-dev:
    7375        rm -rf $(STAGING_DIR)/usr/include/bluetooth
    74         rm -rf $(STAGING_DIR)/usr/lib/libbluetooth.{a,so*}
     76        rm -rf $(STAGING_DIR)/usr/lib/libbluetooth.a
     77        rm -rf $(STAGING_DIR)/usr/lib/libbluetooth.so*
    7578
    7679compile-targets: install-dev
Note: See TracChangeset for help on using the changeset viewer.