blob: 6ffb9ebb7ad580d5303da8f859110df57762cfc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#############################################################
#
# qextserialport
#
#############################################################
QEXTSERIALPORT_VERSION = ef4af2a2ee3f
QEXTSERIALPORT_SITE = https://qextserialport.googlecode.com/hg/
QEXTSERIALPORT_SITE_METHOD = hg
QEXTSERIALPORT_DEPENDENCIES = qt
QEXTSERIALPORT_INSTALL_STAGING = YES
define QEXTSERIALPORT_CONFIGURE_CMDS
(cd $(@D); $(QT_QMAKE))
endef
define QEXTSERIALPORT_BUILD_CMDS
$(MAKE) -C $(@D)
endef
define QEXTSERIALPORT_INSTALL_STAGING_CMDS
mkdir -p $(STAGING_DIR)/usr/include/QExtSerialPort
cp $(@D)/src/*.h $(STAGING_DIR)/usr/include/QExtSerialPort/
cp $(@D)/src/QExtSerialPort $(STAGING_DIR)/usr/include/QExtSerialPort/
cp -a $(@D)/src/build/*.so* $(STAGING_DIR)/usr/lib/
cp $(@D)/qextserialport.pc $(STAGING_DIR)/usr/lib/pkgconfig/
endef
define QEXTSERIALPORT_INSTALL_TARGET_CMDS
cp -a $(@D)/src/build/*.so.* $(TARGET_DIR)/usr/lib
endef
$(eval $(generic-package))
|