apmd_3.2.0.oe:
authorChris Larson <clarson@kergoth.com>
Thu, 16 Oct 2003 21:58:08 +0000 (21:58 +0000)
committerChris Larson <clarson@kergoth.com>
Thu, 16 Oct 2003 21:58:08 +0000 (21:58 +0000)
  apmd: fix the build after the cross libtool changes.
dosfstools_2.9.oe:
  dosfstools: new upstream source url, and inherit autotools.

BKrev: 3f8f1470cvtPAsIB_JZczDcbul6VTg

apmd/apmd_3.2.0.oe
dosfstools/dosfstools_2.9.oe
less/less_381.oe

index e69de29..3ac7d58 100644 (file)
@@ -0,0 +1,58 @@
+S-ECTION="base"
+PRIORITY="required"
+MAINTAINER="Greg Gilbert <greg@treke.net>"
+RDEPENDS="libc6"
+DEPENDS=virtual/libc
+
+SRC_URI = "${DEBIAN_MIRROR}/main/a/${PN}/${PN}_${PV}.orig.tar.gz;"
+SRC_URI_append =" file://${FILESDIR}/${PN}_${PV}-3.diff;patch=1"
+SRC_URI_append =" file://${FILESDIR}/workaround.patch;patch=1"
+SRC_URI_append =" file://${FILESDIR}/conf.patch;patch=1"
+SRC_URI_append =" file://${FILESDIR}/proxy.patch;patch=1"
+SRC_URI_append =" file://${FILESDIR}/compile.patch;patch=1"
+SRC_URI_append =" file://${FILESDIR}/make.patch;patch=1"
+
+S=${WORKDIR}/apmd-${PV}.orig
+
+do_compile() {
+    if [ -e ${STAGING_BINDIR}/${TARGET_SYS}-libtool ]; then
+        LIBTOOL=${STAGING_BINDIR}/${TARGET_SYS}-libtool
+    else
+        LIBTOOL=libtool
+    fi
+    oe_runmake "LIBTOOL=$LIBTOOL" apm apmd
+}
+
+do_stage() {
+    install -m 0755 .libs/libapm.so.1.0.0 ${STAGING_LIBDIR};
+}
+
+do_install() {
+
+    install -d ${D}/${sysconfdir}
+    install -d ${D}/${sysconfdir}/apm
+    install -d ${D}/${sysconfdir}/apm/event.d
+    install -d ${D}/${sysconfdir}/apm/other.d
+    install -d ${D}/${sysconfdir}/apm/suspend.d
+    install -d ${D}/${sysconfdir}/apm/resume.d
+    install -d ${D}/${sysconfdir}/apm/scripts.d
+    install -d ${D}/${sysconfdir}/default
+    install -d ${D}/${sysconfdir}/init.d
+    install -d ${D}/${sbindir}
+    install -d ${D}/${bindir}
+    install -d ${D}/${libdir}
+    install -d ${D}/usr/share
+    install -d ${D}/usr/share/apmd
+    install -m 4755 ${S}/.libs/apm ${D}/${bindir}/apm.orig
+    install -m 0755 ${FILESDIR}/apmwrapper ${D}/${bindir}/apm
+    install -m 0755 ${S}/.libs/apmd ${D}/${sbindir}/apmd
+    install -m 0755 ${S}/debian/apmd_proxy ${D}/${sysconfdir}/apm/
+    install -m 0644 ${S}/debian/apmd_proxy.conf ${D}/usr/share/apmd/
+    install -m 0755 ${S}/debian/apmd.init ${D}/${sysconfdir}/init.d/apmd
+    install -m 0644 ${S}/debian/apmd.default ${D}/${sysconfdir}/default/apmd
+    install -m 0755 .libs/libapm.so.1.0.0 ${D}/${libdir}
+    ln -sf ./libapm.so.1.0.0 ${D}/${libdir}/libapm.so.1.0
+    ln -sf ./libapm.so.1.0.0 ${D}/${libdir}/libapm.so.1
+                
+
+}
index e69de29..9dbec99 100644 (file)
@@ -0,0 +1,19 @@
+DESCRIPTION="DOS FAT Filesystem Utilities"
+SECTION="base"
+PRIORITY="optional"
+MAINTAINER="Greg Gilbert <greg@treke.net>"
+DEPENDS=virtual/libc 
+RDEPENDS="libc6"
+
+SRC_URI = ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}.src.tar.gz \
+         file://${FILESDIR}/alignment_hack.patch;patch=1
+
+inherit autotools
+         
+EXTRA_OECONF = "--with-curses-terminfo"
+#EXTRA_OECONF = "--with-curses-terminfo --enable-libs='-lncurses'"
+
+do_install () {
+       set -e
+       oe_runmake 'PREFIX=${D}' install
+}
index e69de29..44b1878 100644 (file)
@@ -0,0 +1,15 @@
+DEPENDS = virtual/libc ncurses
+RDEPENDS = libc6 libncurses5
+
+SRC_URI := ${GNU_MIRROR}/less/less-381.tar.gz
+S := ${WORKDIR}/${P}
+
+inherit autotools
+
+do_configure () {
+       chmod 0755 configure
+}
+
+do_install () {
+       oe_runmake 'bindir=${D}${bindir}' 'mandir=${D}${mandir}' install
+}