Created
November 21, 2014 14:25
-
-
Save dabrain34/21166220df9f7475a7fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LICENSE = "MIT" | |
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | |
PR = "r1" | |
SRC_URI = "${SOURCEFORGE_MIRROR}/freeimage/FreeImage3110.zip" | |
SRC_URI[md5sum] = "ad1db36414391417654ba7bf1c0277d3" | |
SRC_URI[sha256sum] = "84021b8c0b86e5801479474ad9a99c18d121508ee16d363e02ddcbf24195340c" | |
S = "${WORKDIR}/FreeImage/" | |
TARGET_CC_ARCH += "${LDFLAGS}" | |
INSANE_SKIP_${PN} = "already-stripped" | |
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 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment