summaryrefslogtreecommitdiff
path: root/packages/linebreak/liblinebreak_0.9.6.bb
blob: e0fced4e93e6ce58b8275010f22655a9ee46925a (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
DESCRIPTION = "line breaking library"
HOMEPAGE = "https://sourceforge.net/projects/vimgadgets"
SECTION = "devel"
LICENSE = "Unicode"
PR = "r0"

SRC_URI = "${DEBIAN_MIRROR}/main/libl/liblinebreak/liblinebreak_${PV}.orig.tar.gz \
	file://liblinebreak-build-fix.patch;patch=1"

do_compile() {
	oe_runmake release
}

do_install() {
	install -d ${D}/usr/include
	install -d ${D}/usr/lib

        install -m 644 ${S}/linebreak.h ${D}/usr/include
        install -m 644 ${S}/ReleaseDir/liblinebreak.a ${D}/usr/lib
}

do_stage() {
        install -m 644 linebreak.h ${STAGING_INCDIR}
        install -m 644 ReleaseDir/liblinebreak.a ${STAGING_LIBDIR}
}

S = "${WORKDIR}/liblinebreak"