Install functions for expat, ipkg, and dropbear.
authorChris Larson <clarson@kergoth.com>
Fri, 12 Sep 2003 01:59:11 +0000 (01:59 +0000)
committerChris Larson <clarson@kergoth.com>
Fri, 12 Sep 2003 01:59:11 +0000 (01:59 +0000)
BKrev: 3f61286fR2UDIvEdei96wA6xdeQUPA

content/dropbear-0.36.oe
content/expat-1.95.6.oe
content/ipkg-0.99.84.oe

index 1d4b748..0f71a6f 100644 (file)
@@ -9,6 +9,6 @@ CFLAGS_append = " -I${S}/libtomcrypt"
 LD=${CC}
 do_install () {
        set -e
-       install -d ${D}/usr/sbin
+       install -d ${D}/usr/sbin ${D}/usr/bin
        oe_runmake DESTDIR=${D} install
 }
index e69de29..c0cd17c 100644 (file)
@@ -0,0 +1,24 @@
+DESCRIPTION = Jim Clarkes XML parser library.
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI = ${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz
+S = "${WORKDIR}/${P}"
+
+do_stage () {
+       set -e
+       install -m 0644 lib/expat.h ${STAGING_DIR}/target/include/
+       install -m 0755 .libs/libexpat.so.0.4.0 ${STAGING_LIBDIR}/
+       ln -sf libexpat.so.0.4.0 ${STAGING_LIBDIR}/libexpat.so.1
+       ln -sf libexpat.so.0.4.0 ${STAGING_LIBDIR}/libexpat.so.0
+       ln -sf libexpat.so.0.4.0 ${STAGING_LIBDIR}/libexpat.so
+}
+
+do_install () {
+       set -e
+       oe_runmake prefix="${D}/${prefix}" \
+               bindir="${D}/${bindir}" \
+               libdir="${D}/${libdir}" \
+               includedir="${D}/${includedir}" \
+               install
+}
index 68837db..71b5a25 100644 (file)
@@ -12,3 +12,8 @@ do_compile () {
                base_do_compile $@
        ) || die "compilation failed."
 }
+
+do_install () {
+       set -e
+       oe_runmake DESTDIR="${D}" install
+}