Patchwork [2/2] opkg: put libopkg header files into libopkg-dev

login
register
mail settings
Submitter Paul Barker
Date June 17, 2013, 12:22 a.m.
Message ID <1371428523-21377-2-git-send-email-paul@paulbarker.me.uk>
Download mbox | patch
Permalink /patch/51769/
State Accepted
Commit 692b751729c35b83cad12b162330a214c3fe0f81
Headers show

Comments

Paul Barker - June 17, 2013, 12:22 a.m.
The header files for libopkg belong in the package libopkg-dev rather than
opkg-dev where they are placed by default.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
---
 meta/recipes-devtools/opkg/opkg.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Otavio Salvador - June 17, 2013, 5:49 p.m.
On Sun, Jun 16, 2013 at 9:22 PM, Paul Barker <paul@paulbarker.me.uk> wrote:
> The header files for libopkg belong in the package libopkg-dev rather than
> opkg-dev where they are placed by default.
>
> Signed-off-by: Paul Barker <paul@paulbarker.me.uk>

Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>


--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

Patch

diff --git a/meta/recipes-devtools/opkg/opkg.inc b/meta/recipes-devtools/opkg/opkg.inc
index 3b8c4e8..f2c826b 100644
--- a/meta/recipes-devtools/opkg/opkg.inc
+++ b/meta/recipes-devtools/opkg/opkg.inc
@@ -42,7 +42,7 @@  RREPLACES_${PN} = "opkg-nogpg"
 PACKAGES =+ "libopkg-dev libopkg-staticdev libopkg update-alternatives-cworth"
 
 FILES_update-alternatives-cworth = "${bindir}/update-alternatives"
-FILES_libopkg-dev = "${libdir}/*.la ${libdir}/*.so"
+FILES_libopkg-dev = "${libdir}/*.la ${libdir}/*.so ${includedir}/libopkg"
 FILES_libopkg-staticdev = "${libdir}/*.a"
 FILES_libopkg = "${libdir}/*.so.* ${OPKGLIBDIR}/opkg/"