blob: fb74881c03b0d4d18b4aae859cc1f52dc7749928 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001SUMMARY = "The squish library (abbreviated to libsquish) is an open source DXT compression library written in C++ "
2
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://alpha.cpp;beginline=3;endline=22;md5=6665e479f71feb92d590ea9ae9b9f6d5"
5
6PV = "1.10+git${SRCPV}"
7
8SRCREV = "52e7d93c5947f72380521116c05d97c528863ba8"
Andrew Geissler9aee5002022-03-30 16:27:02 +00009SRC_URI = "git://github.com/OpenELEC/libsquish.git;protocol=https;branch=master \
10 file://0001-Add-support-for-variable-libdir.patch \
11 "
Brad Bishop6e60e8b2018-02-01 10:27:11 -050012
13S = "${WORKDIR}/git"
14
Andrew Geissler9aee5002022-03-30 16:27:02 +000015EXTRA_OEMAKE = "INSTALL_DIR=${D}${prefix} LIBDIR_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \
16 ${@bb.utils.contains('TUNE_FEATURES', 'altivec', 'USE_ALTIVEC=1', '', d)}"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050017
18do_install() {
19 install -d ${D}${includedir}
20 install -d ${D}${libdir}/pkgconfig
21 oe_runmake install
22}