qextserialport : fix download and bump version
authorSagaert Johan <sagaert.johan@skynet.be>
Wed, 7 Nov 2012 09:39:46 +0000 (09:39 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 8 Nov 2012 23:31:49 +0000 (00:31 +0100)
Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/qextserialport/qextserialport-no-examples.patch [deleted file]
package/qextserialport/qextserialport.mk

diff --git a/package/qextserialport/qextserialport-no-examples.patch b/package/qextserialport/qextserialport-no-examples.patch
deleted file mode 100644 (file)
index c7d2d41..0000000
+++ /dev/null
@@ -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
index 6ffb9ebb7ad580d5303da8f859110df57762cfc2..f240cda3d75fa5971275e269e4f5cc3711bf92bc 100644 (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))