qextserialport : fix download and bump version

Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Sagaert Johan 2012-11-07 09:39:46 +00:00 committed by Peter Korsgaard
parent ce70d058f5
commit 35b7560a1b
2 changed files with 7 additions and 22 deletions

View File

@ -1,17 +0,0 @@
Disable compilation of examples
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Index: qextserialport-ef4af2a2ee3f/qextserialport.pro
===================================================================
--- qextserialport-ef4af2a2ee3f.orig/qextserialport.pro
+++ qextserialport-ef4af2a2ee3f/qextserialport.pro
@@ -1,7 +1,4 @@
#
TEMPLATE = subdirs
CONFIG += ordered
-SUBDIRS = src \
- examples/enumerator \
- examples/event
-
+SUBDIRS = src

View File

@ -4,9 +4,11 @@
#
#############################################################
QEXTSERIALPORT_VERSION = ef4af2a2ee3f
QEXTSERIALPORT_SITE = https://qextserialport.googlecode.com/hg/
QEXTSERIALPORT_SITE_METHOD = hg
QEXTSERIALPORT_VERSION = f83b4e7ca922e53
QEXTSERIALPORT_SITE = https://qextserialport.googlecode.com/git/
QEXTSERIALPORT_SITE_METHOD = git
QEXTSERIALPORT_LICENSE = MIT
QEXTSERIALPORT_DEPENDENCIES = qt
@ -24,12 +26,12 @@ 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 -a $(@D)/*.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
cp -a $(@D)/*.so.* $(TARGET_DIR)/usr/lib
endef
$(eval $(generic-package))