blob: 7561ac727fb6984e3ba6a7c9deebe7101b508430 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
DESCRIPTION = "Libnsgif is a decoding library for the GIF image file format"
HOMEPAGE = "http://www.netsurf-browser.org/projects/libnsgif/"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "MIT"
SRC_URI = "http://www.netsurf-browser.org/projects/releases/libnsgif-${PV}-src.tar.gz \
file://libnsgif-strict-aliasing.patch;patch=1"
PR = "r1"
inherit pkgconfig
EXTRA_OEMAKE = "CURDIR=${S} DESTDIR=${D} PREFIX=${prefix} BUILDDIR=build-OE"
# NOTE: we're using default buildmode here, which results in building only
# static libraries (.a) Not a problem as libnsbmp is only used by Netsurf
# at the moment
do_stage() {
oe_libinstall -a -C build-OE/ libnsgif ${STAGING_LIBDIR}
install -m 0644 include/*.h ${STAGING_INCDIR}/
}
do_install() {
oe_runmake install
}
SRC_URI[md5sum] = "a547da766fccacd00fd05190baf644da"
SRC_URI[sha256sum] = "54f316f530caaacd55dc23f546537759382a45ac6378ead249b5a5d51cf4db52"
|