3 include $(TOPDIR
)/rules.mk
10 PKG_SOURCE_URL
:=http
://bluez.sourceforge.net
/download
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,BLUEZ_UTILS
,bluez-utils
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.source
: $(DL_DIR
)/$(PKG_SOURCE
)
22 zcat
$(DL_DIR
)/$(PKG_SOURCE
) |
tar -C
$(BUILD_DIR
) $(TAR_OPTIONS
) -
23 touch
$(BLUEZLIBS_DIR
)/.source
25 $(PKG_BUILD_DIR
)/.configured
:
26 (cd
$(PKG_BUILD_DIR
); rm -rf config.
{cache
,status
} ; \
27 $(TARGET_CONFIGURE_OPTS
) \
28 CFLAGS
="$(TARGET_CFLAGS)" \
29 CPPFLAGS
="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
30 LDFLAGS
="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
32 --target
=$(GNU_TARGET_NAME
) \
33 --host
=$(GNU_TARGET_NAME
) \
34 --build
=$(GNU_HOST_NAME
) \
40 --datadir=/usr
/share \
41 --includedir=/usr
/include \
42 --infodir=/usr
/share
/info \
44 --libexecdir
=/usr
/lib \
45 --localstatedir
=/var \
46 --mandir=/usr
/share
/man \
49 $(DISABLE_LARGEFILE
) \
60 --disable-initscripts \
67 --with-bluez
=$(STAGING_DIR
)/usr
/include \
68 --with-usb
=$(STAGING_DIR
)/usr
/include \
72 $(PKG_BUILD_DIR
)/.built
:
73 rm -rf
$(PKG_INSTALL_DIR
)
74 mkdir
-p
$(PKG_INSTALL_DIR
)
75 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
76 DESTDIR
="$(PKG_INSTALL_DIR)" \
81 install -d
-m0755
$(IDIR_BLUEZ_UTILS
)/usr
/bin
82 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(IDIR_BLUEZ_UTILS
)/usr
/bin
/
83 install -d
-m0755
$(IDIR_BLUEZ_UTILS
)/usr
/sbin
84 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/* $(IDIR_BLUEZ_UTILS
)/usr
/sbin
/
85 install -d
-m0755
$(IDIR_BLUEZ_UTILS
)/etc
/bluetooth
86 $(CP
) $(PKG_INSTALL_DIR
)/..
/hcid
/hcid.conf
$(IDIR_BLUEZ_UTILS
)/etc
/bluetooth
/
87 $(CP
) $(PKG_INSTALL_DIR
)/..
/rfcomm
/rfcomm.conf
$(IDIR_BLUEZ_UTILS
)/etc
/bluetooth
/
88 install -m0700 .
/files
/givepin
$(IDIR_BLUEZ_UTILS
)/etc
/bluetooth
/
89 $(RSTRIP
) $(IDIR_BLUEZ_UTILS
)
90 $(IPKG_BUILD
) $(IDIR_BLUEZ_UTILS
) $(PACKAGE_DIR
)
This page took 0.045553 seconds and 5 git commands to generate.