summaryrefslogtreecommitdiff
path: root/packages/proxy-libintl/proxy-libintl_20080418.bb
diff options
context:
space:
mode:
authorShane Volpe <shanevolpe@gmail.com>2008-08-20 16:47:44 +0000
committerShane Volpe <shanevolpe@gmail.com>2008-08-20 16:47:44 +0000
commit82ca407ddec93623fee1d99f1605ba2417ce9204 (patch)
treec549ccd559bb23443eab006b1d3d2988263d0d27 /packages/proxy-libintl/proxy-libintl_20080418.bb
parent411fb3bd110dc22736434958bd66c2ee573a179d (diff)
parent21c3f941b0a83b20e346ec59fb0705082bc9becc (diff)
merge of '1000bbf185b8d82a04217a427713db28aa841cab'
and '72496963bc56d2931e759395604bb874363cb29a'
Diffstat (limited to 'packages/proxy-libintl/proxy-libintl_20080418.bb')
-rw-r--r--packages/proxy-libintl/proxy-libintl_20080418.bb46
1 files changed, 46 insertions, 0 deletions
diff --git a/packages/proxy-libintl/proxy-libintl_20080418.bb b/packages/proxy-libintl/proxy-libintl_20080418.bb
new file mode 100644
index 0000000000..dbe7b92c7e
--- /dev/null
+++ b/packages/proxy-libintl/proxy-libintl_20080418.bb
@@ -0,0 +1,46 @@
+DESCRIPTION = "Proxy libintl"
+HOMEPAGE = "http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/"
+SECTION = "libs"
+LICENSE = "LGPL"
+
+PR = "r1"
+PROVIDES = "virtual/libintl"
+
+
+SRC_URI = " \
+ http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/${PN}-${PV}.zip \
+ file://stub-only.patch;patch=1 \
+"
+
+
+S = "${WORKDIR}"
+FILES_${PN}-dev = "${includedir} ${libdir}"
+
+
+CFLAGS_append = " -Wall -I ../../include ${@['-DSTUB_ONLY', ''][bb.data.getVar('USE_NLS', d, 1) != 'no']}"
+
+do_compile() {
+ cd ${WORKDIR}/src/proxy-libintl
+ oe_runmake
+}
+
+
+
+
+do_install() {
+ install -d ${D}/usr/include
+ install -d ${D}/usr/lib
+
+ install -m 0644 ${WORKDIR}/include/libintl.h ${D}/${includedir}
+ install -m 0644 ${WORKDIR}/lib/libintl.a ${D}/${libdir}
+}
+
+
+
+do_stage() {
+ install -m 0644 ${WORKDIR}/include/libintl.h ${STAGING_INCDIR}/
+ oe_libinstall -a -C lib libintl ${STAGING_LIBDIR}/
+}
+
+
+