summaryrefslogtreecommitdiff
path: root/libogg/libogg_1.1.oe
blob: 67693fb21288800a55a01c60c212b3eb2818b862 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SECTION = "libs"
RDEPENDS = "libc6"
DEPENDS = "virtual/libc"
DESCRIPTION = "libogg is the bitstream and framing library \
for the Ogg project. It provides functions which are \
necessary to codec libraries like libvorbis."

SRC_URI = http://www.vorbis.com/files/1.0.1/unix/libogg-${PV}.tar.gz

inherit autotools libtool

do_stage () {
	install -m 0644 src/.libs/libogg.a ${STAGING_LIBDIR}/
	install -m 0644 src/.libs/libogg.lai ${STAGING_LIBDIR}/libogg.la
	install -m 0644 src/.libs/libogg.so.0.5.0 ${STAGING_LIBDIR}/
	ln -sf libogg.so.0.5.0 ${STAGING_LIBDIR}/libogg.so.0
	ln -sf libogg.so.0.5.0 ${STAGING_LIBDIR}/libogg.so

	install -d ${STAGING_DIR}/target/include/ogg
	(cd include/ogg; cp config_types.h ogg.h os_types.h ${STAGING_DIR}/target/include/ogg/)
}