summaryrefslogtreecommitdiff
path: root/lzo/lzo_1.08.oe
blob: 98c7e6601d8033729101533f38bd8239ae83147f (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
DESCRIPTION = "Lossless data compression library"
SECTION = "libs"
PRIORITY = "optional"
DEPENDS = "virtual/libc"

SRC_URI = "http://www.oberhumer.com/opensource/lzo/download/lzo-${PV}.tar.gz"

inherit autotools libtool

do_configure () {
	# override this function to avoid the autoconf/automake/aclocal/autoheader
	# calls for now
	oe_runconf
}

do_stage() {
	install -m 0644 include/lzo1.h ${STAGING_INCDIR}/lzo1.h
	install -m 0644 include/lzo16bit.h ${STAGING_INCDIR}/lzo16bit.h
	install -m 0644 include/lzo1a.h ${STAGING_INCDIR}/lzo1a.h
	install -m 0644 include/lzo1b.h ${STAGING_INCDIR}/lzo1b.h
	install -m 0644 include/lzo1c.h ${STAGING_INCDIR}/lzo1c.h
	install -m 0644 include/lzo1f.h ${STAGING_INCDIR}/lzo1f.h
	install -m 0644 include/lzo1x.h ${STAGING_INCDIR}/lzo1x.h
	install -m 0644 include/lzo1y.h ${STAGING_INCDIR}/lzo1y.h
	install -m 0644 include/lzo1z.h ${STAGING_INCDIR}/lzo1z.h
	install -m 0644 include/lzo2a.h ${STAGING_INCDIR}/lzo2a.h
	install -m 0644 include/lzoconf.h ${STAGING_INCDIR}/lzoconf.h
	install -m 0644 include/lzoutil.h ${STAGING_INCDIR}/lzoutil.h

	oe_soinstall src/.libs/liblzo.so.1.0.0 ${STAGING_LIBDIR}/
	install -m 0644 src/.libs/liblzo.a ${STAGING_LIBDIR}/liblzo.a
}