SECTION = "graphic/utils" SUMMARY = "giblib is a simple library which wraps imlib2" HOMEPAGE = "http://linuxbrit.co.uk/software/" LICENSE = "MIT-feh" DEPENDS = "imlib2" MIRRORS:prepend () { } SRC_URI = " \ http://pkgs.fedoraproject.org/repo/pkgs/giblib/giblib-${PV}.tar.gz/c810ef5389baf24882a1caca2954385e/giblib-${PV}.tar.gz \ file://fix-giblib-binconfig-paths.patch \ " LIC_FILES_CHKSUM = "file://COPYING;md5=dd3cb8d7a69f3d0b2a52a46c92389011" SRC_URI[md5sum] = "c810ef5389baf24882a1caca2954385e" SRC_URI[sha256sum] = "176611c4d88d742ea4013991ad54c2f9d2feefbc97a28434c0f48922ebaa8bac" PR = "r0" do_compile:prepend () { #remove linkerpath to host libraries sed -i -e 's:-L/usr/lib\s::' Makefile sed -i -e 's:-L/usr/lib\s::' giblib/Makefile export DESTDIR=${D} } do_compile:append () { for i in $(find ${B} -name "*?.pc") ; do sed -i -e s:${STAGING_DIR_TARGET}::g \ -e s:/${TARGET_SYS}::g \ $i done } FILES:${PN}-doc = "/usr/doc" inherit autotools-brokensep binconfig pkgconfig