summaryrefslogtreecommitdiff
path: root/libogg/libogg_1.0.oe
diff options
context:
space:
mode:
Diffstat (limited to 'libogg/libogg_1.0.oe')
-rw-r--r--libogg/libogg_1.0.oe21
1 files changed, 21 insertions, 0 deletions
diff --git a/libogg/libogg_1.0.oe b/libogg/libogg_1.0.oe
index e69de29bb2..08b276df84 100644
--- a/libogg/libogg_1.0.oe
+++ b/libogg/libogg_1.0.oe
@@ -0,0 +1,21 @@
+SECTION=libs
+RDEPENDS=libc6
+DEPENDS=virtual/libc
+
+SRC_URI = http://www.vorbis.com/files/1.0/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.4.0 ${STAGING_LIBDIR}/
+ ln -sf libogg.so.0.4.0 ${STAGING_LIBDIR}/libogg.so.0
+ ln -sf libogg.so.0.4.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/)
+
+ install -d ${STAGING_DIR}/share/aclocal
+ install -m 0644 ogg.m4 ${STAGING_DIR}/share/aclocal/ogg.m4
+}