2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-06-02 18:13:55 +02:00
|
|
|
#
|
|
|
|
# qextserialport
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-06-02 18:13:55 +02:00
|
|
|
|
2013-11-02 15:57:28 +01:00
|
|
|
QEXTSERIALPORT_VERSION = 6c47244de4ce6db43c2f05caee957666c951dae1
|
2014-07-31 10:46:58 +02:00
|
|
|
QEXTSERIALPORT_SITE = https://qextserialport.googlecode.com/git
|
2012-11-07 10:39:46 +01:00
|
|
|
QEXTSERIALPORT_SITE_METHOD = git
|
|
|
|
|
|
|
|
QEXTSERIALPORT_LICENSE = MIT
|
2012-06-02 18:13:55 +02:00
|
|
|
|
|
|
|
QEXTSERIALPORT_DEPENDENCIES = qt
|
|
|
|
|
|
|
|
QEXTSERIALPORT_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
define QEXTSERIALPORT_CONFIGURE_CMDS
|
2014-03-19 20:30:09 +01:00
|
|
|
(cd $(@D); $(TARGET_MAKE_ENV) $(QT_QMAKE))
|
2012-06-02 18:13:55 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define QEXTSERIALPORT_BUILD_CMDS
|
2014-03-19 20:30:09 +01:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
2012-06-02 18:13:55 +02:00
|
|
|
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/
|
2012-11-07 10:39:46 +01:00
|
|
|
cp -a $(@D)/*.so* $(STAGING_DIR)/usr/lib/
|
2012-06-02 18:13:55 +02:00
|
|
|
cp $(@D)/qextserialport.pc $(STAGING_DIR)/usr/lib/pkgconfig/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define QEXTSERIALPORT_INSTALL_TARGET_CMDS
|
2012-11-07 10:39:46 +01:00
|
|
|
cp -a $(@D)/*.so.* $(TARGET_DIR)/usr/lib
|
2012-06-02 18:13:55 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|