diff options
author | Chris Larson <clarson@kergoth.com> | 2003-10-03 04:30:47 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2003-10-03 04:30:47 +0000 |
commit | 45a9d97d27c07cff61c7fd4923cb7ed155b56a07 (patch) | |
tree | 0cea5442ba272206bfa436fd599407173ad77af0 /libogg | |
parent | 4235457715fd2b44f952831abe45fb134c4090d2 (diff) |
Add libogg do_stage function.
BKrev: 3f7cfb77uZhHtYUGNTMu7KIbYZMfYA
Diffstat (limited to 'libogg')
-rw-r--r-- | libogg/libogg-1.0.0.oe | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/libogg/libogg-1.0.0.oe b/libogg/libogg-1.0.0.oe index e69de29bb2..9c2d478871 100644 --- a/libogg/libogg-1.0.0.oe +++ b/libogg/libogg-1.0.0.oe @@ -0,0 +1,26 @@ +SECTION="libs" +PRIORITY="optional" +MAINTAINER="" +RDEPENDS="libc6" +SECTION="libs" +DEPENDS=virtual/libc + +SRC_URI = "ftp://ftp.debian.org/debian/pool/main/libo/libogg/${PN}_${PV}.orig.tar.gz" +SRC_URI_append = " file://${FILESDIR}/libogg-configure.patch;patch=1" +S=${WORKDIR}/${P} + +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_LIBDIR}/ogg + (cd include/ogg; cp config_types.h ogg.h os_types.h ${STAGING_LIBDIR}/ogg/) + + install -d ${STAGING_DIR}/share/aclocal + install -m 0644 ogg.m4 ${STAGING_DIR}/share/aclocal/ogg.m4 +} |