libg15: Add library staging.
authorccsmart <ccsmart@smartpal.de>
Sun, 14 Jan 2007 20:35:15 +0000 (20:35 +0000)
committerccsmart <ccsmart@smartpal.de>
Sun, 14 Jan 2007 20:35:15 +0000 (20:35 +0000)
packages/libg15/libg15_1.2.1.bb

index 520c944..746e5f2 100644 (file)
@@ -1,12 +1,19 @@
 DESCRIPTION = "This is a library to handle the LCD and extra keys on the Logitech G15 Gaming Keyboard."
 HOMEPAGE = "http://g15tools.sourceforge.net"
 LICENSE = "GPLv2"
-SECTION = "console/utils"
+SECTION = "libs"
 PRIORITY = "optional"
 DEPENDS = "libusb"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/g15tools/libg15-${PV}.tar.bz2"
 
 inherit autotools
 
+do_stage () {
+        oe_libinstall -a -so libg15 ${STAGING_LIBDIR}
+        for i in libg15.h; do
+                install -m 0644 ${S}/$i ${STAGING_INCDIR}/
+        done
+}
+