summaryrefslogtreecommitdiff
path: root/recipes/proxy-libintl/proxy-libintl_20080418.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-10-01 23:17:31 -0700
committerKhem Raj <raj.khem@gmail.com>2009-10-01 23:23:22 -0700
commit8edf0c3c8890aa5cbb765ed7619c62e77c3f2124 (patch)
tree8b5ca3c46f3da450e8e516b7b567a891a875444c /recipes/proxy-libintl/proxy-libintl_20080418.bb
parent31d07ca91682a5aa15e0c3649ae9be89607ceb2a (diff)
proxy-libintl_20080418.bb: include libintl.h in -dev package.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/proxy-libintl/proxy-libintl_20080418.bb')
-rw-r--r--recipes/proxy-libintl/proxy-libintl_20080418.bb13
1 files changed, 3 insertions, 10 deletions
diff --git a/recipes/proxy-libintl/proxy-libintl_20080418.bb b/recipes/proxy-libintl/proxy-libintl_20080418.bb
index 36a0e5d0aa..74ecfaf67b 100644
--- a/recipes/proxy-libintl/proxy-libintl_20080418.bb
+++ b/recipes/proxy-libintl/proxy-libintl_20080418.bb
@@ -12,12 +12,10 @@ SRC_URI = " \
file://create-as-shared-lib.patch;patch=1 \
"
-
S = "${WORKDIR}"
-FILES_${PN}-dev = "${includedir} ${libdir}/libintl.a"
+FILES_${PN}-dev = "${includedir}/libintl.h ${libdir}/libintl.a"
FILES_${PN} = "${libdir}/libintl.so"
-
CFLAGS_append = " -Wall -I ../../include ${@['-DSTUB_ONLY', ''][bb.data.getVar('USE_NLS', d, 1) != 'no']}"
do_compile() {
@@ -25,9 +23,6 @@ do_compile() {
oe_runmake
}
-
-
-
do_install() {
install -d ${D}/usr/include
install -d ${D}/usr/lib
@@ -37,10 +32,8 @@ do_install() {
install -m 0644 ${WORKDIR}/lib/libintl.a ${D}/${libdir}
}
-
-
do_stage() {
- install -m 0644 ${WORKDIR}/include/libintl.h ${STAGING_INCDIR}/
- oe_libinstall -a -so -C lib libintl ${STAGING_LIBDIR}/
+ install -m 0644 ${WORKDIR}/include/libintl.h ${STAGING_INCDIR}
+ oe_libinstall -a -so -C lib libintl ${STAGING_LIBDIR}
}