blob: 213b57ef89a63edad21a695030d79f94cf9ae52f (
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
31
32
33
|
DESCRIPTION = "LibCSS is a CSS parser and selection engine, written in C"
HOMEPAGE = "http://www.netsurf-browser.org/projects/libcss/"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "MIT"
DEPENDS = "libwapcaplet"
PR = "r1"
SRC_URI = "http://download.netsurf-browser.org/libs/releases/libcss-${PV}-src.tar.gz \
file://no-werror.patch"
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/ libcss ${STAGING_LIBDIR}
install -m 0644 build-OE/libcss.pc ${STAGING_LIBDIR}/pkgconfig
install -d ${STAGING_INCDIR}/libcss
install -m 0644 include/libcss/*.h ${STAGING_INCDIR}/libcss
}
do_install() {
oe_runmake install
}
SRC_URI[md5sum] = "3bbdd853a2f52db7ab0e2ea3597e62fa"
SRC_URI[sha256sum] = "5205351cb3231173eded5885c22cb7d1c26ae66d3c30c48e2fb826719d78989a"
|