summaryrefslogtreecommitdiff
path: root/packages/ogre/freeimage_3.11.0.bb
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2009-02-13 14:12:54 -0500
committerPhilip Balister <philip@balister.org>2009-02-13 14:12:54 -0500
commit18992093169e9ebd2a61989b853986a77199be35 (patch)
treed08928e78b95ea9dcbd7a4f5a193b18e197e8a8d /packages/ogre/freeimage_3.11.0.bb
parent36001a65d7eb5f4432b999d24c29501834a3b431 (diff)
parent97b340db7c7b9ee3ed53e02eaa63c9873f4e1610 (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'packages/ogre/freeimage_3.11.0.bb')
-rw-r--r--packages/ogre/freeimage_3.11.0.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/ogre/freeimage_3.11.0.bb b/packages/ogre/freeimage_3.11.0.bb
new file mode 100644
index 0000000000..8281aaf371
--- /dev/null
+++ b/packages/ogre/freeimage_3.11.0.bb
@@ -0,0 +1,29 @@
+LICENSE = "MIT"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/freeimage/FreeImage3110.zip"
+
+S = "${WORKDIR}/FreeImage/"
+
+do_configure() {
+ sed -i -e /^CC/d \
+ -e /^CXX\ /d \
+ -e /^AR/d \
+ -e /^INCDIR\ /d \
+ -e /^INSTALLDIR\ /d \
+ -e s:'-o root -g root'::g \
+ -e /ldconfig/d \
+ ${S}/Makefile.gnu
+}
+
+do_install() {
+ install -d ${D}${libdir}
+ install -d ${D}${includedir}
+ oe_runmake INSTALLDIR="${D}${libdir}" INCDIR="${D}${includedir}" install
+}
+
+do_stage() {
+ install -d ${STAGING_LIBDIR}
+ install -d ${STAGING_INCDIR}
+ oe_runmake INSTALLDIR="${STAGING_LIBDIR}" INCDIR="${STAGING_INCDIR}" install
+}
+