Updates to .oe's to utilize the autotools oeclass, and removal of unnecessary 'set...
authorChris Larson <clarson@kergoth.com>
Tue, 16 Sep 2003 20:39:43 +0000 (20:39 +0000)
committerChris Larson <clarson@kergoth.com>
Tue, 16 Sep 2003 20:39:43 +0000 (20:39 +0000)
BKrev: 3f67750f7hz7fa_5DclmHoTZT7vW3Q

28 files changed:
content/busybox-1.00-pre2.oe
content/busybox-1.00-pre3.oe
content/dropbear-0.36.oe
content/expat-1.95.6.oe
content/fakeroot-0.7.5.oe
content/ifupdown-0.6.4.oe
content/ipkg-0.99.84.oe
content/ipkg-0.99.91.oe
content/ipkg-utils-1.0_cvs.oe
content/iputils-20020927.oe
content/irda-utils-0.9.15.oe
content/jpeg-6b.oe
content/libpng-1.2.5.oe
content/modutils-2.4.25.oe
content/mtd.oe
content/netbase-4.13.oe
content/netkit-base-0.17.oe
content/netkit-ftp-0.17.oe
content/ntp-4.1.2.oe
content/openssh-3.7p1.oe
content/openssl-0.9.7b.oe
content/pcre-4.4.oe
content/qte-2.3.7.oe
content/sysvinit-2.85.oe
content/tinylogin-1.4.oe
content/tslib.oe
content/zlib-1.1.4.oe
content/zsh-4.1.1.oe

index d3a87ed..9e2848f 100644 (file)
@@ -16,19 +16,16 @@ export EXTRA_CFLAGS="${CFLAGS}"
 EXTRA_OEMAKE_append=' CROSS=${CROSS}'
 
 do_configure () {
-       set -e
        install -m 0644 ${FILESDIR}/defconfig ${S}/.config
        cml1_do_configure
 }
 
 do_compile () {
-       set -e
        unset CFLAGS
        base_do_compile
 }
 
 do_install () {
-       set -e
        install -d ${D}/etc/init.d
        oe_runmake 'PREFIX=${D}' install
        install -m 0755 ${FILESDIR}/syslog ${D}/etc/init.d/syslog
index d3a87ed..4ca16bf 100644 (file)
@@ -16,19 +16,16 @@ export EXTRA_CFLAGS="${CFLAGS}"
 EXTRA_OEMAKE_append=' CROSS=${CROSS}'
 
 do_configure () {
-       set -e
        install -m 0644 ${FILESDIR}/defconfig ${S}/.config
        cml1_do_configure
 }
 
 do_compile () {
-       set -e
        unset CFLAGS
        base_do_compile
 }
 
 do_install () {
-       set -e
        install -d ${D}/etc/init.d
        oe_runmake 'PREFIX=${D}' install
        install -m 0755 ${FILESDIR}/syslog ${D}/etc/init.d/syslog
@@ -36,7 +33,6 @@ do_install () {
 }
 
 do_package_ipk_prepend () {
-       set -e
        install -m 0755 ${FILESDIR}/postinst ${D}/CONTROL/postinst;
        install -m 0755 ${FILESDIR}/prerm ${D}/CONTROL/prerm;
 }
index 0f71a6f..12c718c 100644 (file)
@@ -1,14 +1,14 @@
 DESCRIPTION="Dropbear SSH Implementation"
 LICENSE="MIT"
-SRC_URI="http://matt.ucc.asn.au/dropbear/dropbear-${PV}.tar.bz2"
 DEPENDS=virtual/libc zlib ncurses
 
+SRC_URI="http://matt.ucc.asn.au/dropbear/dropbear-${PV}.tar.bz2"
 S="${WORKDIR}/${P}"
 
+inherit autotools
+
 CFLAGS_append = " -I${S}/libtomcrypt"
 LD=${CC}
-do_install () {
-       set -e
+do_install_prepend () {
        install -d ${D}/usr/sbin ${D}/usr/bin
-       oe_runmake DESTDIR=${D} install
 }
index c0cd17c..fca7bb5 100644 (file)
@@ -5,8 +5,9 @@ RDEPENDS = libc6
 SRC_URI = ${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz
 S = "${WORKDIR}/${P}"
 
+inherit autotools
+
 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
@@ -15,7 +16,6 @@ do_stage () {
 }
 
 do_install () {
-       set -e
        oe_runmake prefix="${D}/${prefix}" \
                bindir="${D}/${bindir}" \
                libdir="${D}/${libdir}" \
index e69de29..038b41f 100644 (file)
@@ -0,0 +1,4 @@
+SRC_URI = ${DEBIAN_MIRROR}/main/f/fakeroot/${PN}_${PV}.tar.gz
+S = ${WORKDIR}/${P}
+
+inherit autotools
index e69de29..2f30b27 100644 (file)
@@ -0,0 +1,28 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+DESCRIPTION = High level tools to configure network interfaces\
+ This package provides the tools ifup and ifdown which may be used to\
+ configure (or, respectively, deconfigure) network interfaces, based on\
+ the file /etc/network/interfaces.
+
+SRC_URI = ${DEBIAN_MIRROR}/main/i/${PN}/${PN}_${PV}.orig.tar.gz \
+         ${DEBIAN_MIRROR}/main/i/${PN}/${PN}_${PV}-4.4.diff.gz;patch=1 \
+         file://${FILESDIR}/udhcpc.patch;patch=1
+S = ${WORKDIR}/${P}
+
+EXTRA_OEMAKE = 
+
+do_compile () {
+       chmod a+rx *.pl *.sh
+       oe_runmake 'CC=${CC}' "CFLAGS=${CFLAGS} -Wall -W -D'IFUPDOWN_VERSION=\"0.6.4\"'"
+}
+
+do_install () {
+       install -d ${D}/etc/init.d \
+                  ${D}/etc/network \
+                  ${D}/sbin
+       install -m 0755 ifup ${D}/sbin/
+       ln ${D}/sbin/ifup ${D}/sbin/ifdown
+       install -m 0644 ${FILESDIR}/init ${D}/etc/init.d/init
+       install -m 0644 ${FILESDIR}/interfaces ${D}/etc/network/interfaces
+}
index 71b5a25..5095f69 100644 (file)
@@ -1,19 +1,13 @@
 DESCRIPTION="Itsy Package Manager"
 LICENSE="GPL"
-SRC_URI="cvs://anoncvs:anoncvs@192.58.209.91/cvs;module=familiar/dist/ipkg;tag=V0-99-84"
 PROVIDES=virtual/ipkg
 DEPENDS=virtual/libc
 
+SRC_URI="cvs://anoncvs:anoncvs@192.58.209.91/cvs;module=familiar/dist/ipkg;tag=V0-99-84"
 S="${WORKDIR}/ipkg/C"
 
-do_compile () {
-       (
-               ./autoconfigure.sh && \
-               base_do_compile $@
-       ) || die "compilation failed."
-}
+inherit autotools
 
-do_install () {
-       set -e
-       oe_runmake DESTDIR="${D}" install
+do_compile_prepend () {
+       ./autoconfigure.sh
 }
index e69de29..18788b7 100644 (file)
@@ -0,0 +1,13 @@
+DESCRIPTION="Itsy Package Manager"
+LICENSE="GPL"
+PROVIDES=virtual/ipkg
+DEPENDS=virtual/libc
+
+SRC_URI="cvs://anoncvs:anoncvs@192.58.209.91/cvs;module=familiar/dist/ipkg;tag=${@'V' + string.replace(oe.data.getVar('PV',d,1), '.', '-')}"
+S="${WORKDIR}/ipkg/C"
+
+inherit autotools
+
+do_compile_prepend () {
+       ./autoconfigure.sh
+}
index 038f717..eaad1bf 100644 (file)
@@ -4,11 +4,13 @@ SECTION="base"
 PRIORITY="optional"
 MAINTAINER="Chris Larson <kergoth@handhelds.org>"
 LICENSE="GPL"
-SRC_URI="cvs://anoncvs:anoncvs@192.58.209.91/cvs;module=ipkg-utils"
 #DEPENDS=virtual/libc
 
+SRC_URI="cvs://anoncvs:anoncvs@192.58.209.91/cvs;module=ipkg-utils"
 S="${WORKDIR}/${PN}"
 
+inherit autotools
+
 do_stage() {
        cp ipkg* ${STAGING_BINDIR}/
 }
index e69de29..d5e75a8 100644 (file)
@@ -0,0 +1,25 @@
+SRC_URI = http://www.tux.org/pub/people/alexey-kuznetsov/ip-routing/iputils-ss020927.tar.gz
+S = ${WORKDIR}/${PN}
+
+EXTRA_OEMAKE = 
+
+do_compile () {
+       oe_runmake 'CC=${CC}' \
+                  KERNEL_INCLUDE="${STAGING_DIR}/target/include" \
+                  LIBC_INCLUDE="${STAGING_DIR}/target/include"
+       oe_runmake -C doc 'CC=${CC}' \
+                  KERNEL_INCLUDE="${STAGING_DIR}/target/include" \
+                  LIBC_INCLUDE="${STAGING_DIR}/target/include"
+}
+
+do_install () {
+       install -d ${D}/bin ${D}/usr/sbin \
+                  ${D}/${mandir}/man8 ${D}/${datadir}/doc/${P}
+       install -m 0755 ping ${D}/bin/
+       for f in ipg tracepath clockdiff rdisc arping \
+               tftpd rarpd tracepath6 traceroute6 ping6; do
+               install -m 0755 $f ${D}/usr/sbin/
+       done
+       install -m 0644 doc/*.8 ${D}/${mandir}/man8/
+       install -m 0644 doc/*.html ${D}/${datadir}/doc/${P}/
+}
index d946f75..be32043 100644 (file)
@@ -7,14 +7,14 @@ DESCRIPTION = Provides common files needed to use IrDA.\
 SRC_URI = ${SOURCEFORGE_MIRROR}/irda/${P}.tar.gz
 S = ${WORKDIR}/${P}
 
+inherit autotools
+
 do_compile () {
-       set -e
        oe_runmake -C irattach
        oe_runmake -C irdaping
 }
 
 do_install () {
-       set -e
        install -d ${D}/usr/sbin
        oe_runmake -C irattach ROOT="${D}" install
        oe_runmake -C irdaping ROOT="${D}" install
index 755f9a2..73560b2 100644 (file)
@@ -1,14 +1,15 @@
-DESCRIPTION="Zlib Compression Library"
 SECTION="libs"
 PRIORITY="required"
 MAINTAINER="Chris Larson <kergoth@handhelds.org>"
 RDEPENDS="libc6"
+DEPENDS=virtual/libc
 
 SRC_URI = http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \
          file://${FILESDIR}/debian.patch;patch=1
-DEPENDS=virtual/libc
 S=${WORKDIR}/jpeg-${PV}
 
+inherit autotools
+
 EXTRA_OECONF="--enable-static --enable-shared"
 
 # this libtool cant handle the multiword gcc
@@ -29,7 +30,6 @@ do_stage() {
 }
 
 do_install() {
-       set -e
        install -d ${D}/${bindir} ${D}/${includedir} \
                   ${D}/${mandir}/man1 ${D}/${libdir}
        oe_runmake 'prefix=${D}/${prefix}' 'exec_prefix=${D}/${exec_prefix}' \
index 52787b6..a018bcf 100644 (file)
@@ -12,7 +12,6 @@ S = ${WORKDIR}/${P}
 EXTRA_OEMAKE_append=' ZLIBINC=${STAGING_DIR}/target/include ZLIBLIB=${STAGING_LIBDIR}'
 
 do_compile() {
-       set -e
        sed < scripts/makefile.linux > makefile -e 's/^ZLIBINC.*//' -e 's/^ZLIBLIB.*//'
        unset LDFLAGS
        oe_runmake 'CC=${CC}' 'LD=${LD}' 'CFLAGS=${CFLAGS}' \
@@ -32,7 +31,6 @@ do_stage() {
 }
 
 do_install () {
-       set -e
        install -d ${D}/${bindir} ${D}/${mandir} \
                   ${D}/${libdir} ${D}/${includedir}
        unset LDFLAGS
index e69de29..a6caef4 100644 (file)
@@ -0,0 +1,9 @@
+SRC_URI = ftp://ftp.kernel.org/pub/linux/utils/kernel/${PN}/v2.4/${P}.tar.bz2 \
+         file://${FILESDIR}/modutils-notest.patch;patch=1
+S = ${WORKDIR}/${P}
+
+inherit autotools
+
+EXTRA_OECONF = --disable-strip
+EXTRA_OEMAKE =
+export BUILDCC = ${BUILD_CC}
index 8798887..467a884 100644 (file)
@@ -9,7 +9,6 @@ CPPFLAGS_prepend = "-I${S}/../include "
 CXXFLAGS_prepend = "-I${S}/../include "
 
 do_install () {
-       set -e
        install -d ${D}/usr/bin
        for binary in ftl_format erase eraseall nanddump doc_loadbios \
                mkfs.jffs ftl_check mkfs.jffs2 lock unlock einfo mtd_debug \
index e69de29..6218e75 100644 (file)
@@ -0,0 +1,12 @@
+SRC_URI = ${DEBIAN_MIRROR}/main/n/${PN}/${PN}_${PV}.tar.gz
+S = ${WORKDIR}/${P}
+
+do_install () {
+       install -d ${D}/etc/init.d ${D}/${sbindir} ${D}/${mandir}/man8
+       install -m 0644 ${FILESDIR}/init ${D}/etc/init.d/netbase
+       install -m 0644 etc-rpc ${D}/etc/rpc
+       install -m 0644 etc-protocols ${D}/etc/protocols
+       install -m 0644 etc-services ${D}/etc/services
+       install -m 0755 update-inetd ${D}/${sbindir}/
+       install -m 0644 update-inetd.8 ${D}/${mandir}/man8/
+}
index e69de29..53b9e89 100644 (file)
@@ -0,0 +1,16 @@
+SRC_URI = ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz \
+         file://${FILESDIR}/configure.patch;patch=1 \
+         file://${FILESDIR}/mconfig.patch;patch=1
+S = ${WORKDIR}/${P}
+
+EXTRA_OEMAKE = -C inetd
+do_compile () {
+       oe_runmake 'CC=${CC}' 'LD=${LD}' all
+}
+
+do_install () {
+       install -d ${D}/${sysconfdir}/init.d ${D}/${sbindir}
+       install -m 0755 inetd/inetd ${D}/${sbindir}/inetd
+       install -m 0755 ${FILESDIR}/init ${D}/${sysconfdir}/init.d/inetd
+       install -m 0644 ${FILESDIR}/inetd.conf ${D}/${sysconfdir}
+}
index e69de29..c77ffa0 100644 (file)
@@ -0,0 +1,13 @@
+SRC_URI = ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz \
+         file://${FILESDIR}/mconfig.patch;patch=1
+S = ${WORKDIR}/${P}
+
+EXTRA_OEMAKE =
+do_compile () {
+       oe_runmake 'CC=${CC}' 'LD=${LD}' all
+}
+
+do_install () {
+       install -d ${D}/${bindir}
+       install -m 0755 ftp/ftp ${D}/${bindir}
+}
index e69de29..d66287d 100644 (file)
@@ -0,0 +1,11 @@
+DEPENDS = virtual/libc
+
+SRC_URI = http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/${P}.tar.gz
+S = ${WORKDIR}/${P}
+
+inherit autotools
+
+EXTRA_OEMAKE =
+EXTRA_OECONF = --with-openssl-libdir=${STAGING_LIBDIR} \
+              --with-openssl-incdir=${STAGING_DIR}/target/include/openssl
+CFLAGS_append = " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED"
index e69de29..d2a118e 100644 (file)
@@ -0,0 +1,30 @@
+DEPENDS = virtual/libc zlib openssl
+SECTION = net
+DESCRIPTION = Secure rlogin/rsh/rcp/telnet replacement (OpenSSH)\
+ Ssh (Secure Shell) is a program for logging into a remote machine\
+ and for executing commands on a remote machine.\
+ It provides secure encrypted communications between two untrusted\
+ hosts over an insecure network.  X11 connections and arbitrary TCP/IP\
+ ports can also be forwarded over the secure channel.\
+ It is intended as a replacement for rlogin, rsh and rcp, and can be\
+ used to provide applications with a secure communication channel.
+
+SRC_URI = ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar.gz \
+         file://${FILESDIR}/cross.patch;patch=1 \
+         file://${FILESDIR}/scp-nossl.patch;patch=1
+S = ${WORKDIR}/${P}
+
+inherit autotools
+
+export sysconfdir = /etc/ssh
+export ASKPASS_PROGRAM = /usr/bin/ssh-askpass
+export LD = ${CC}
+CFLAGS_prepend = "-I${S} "
+CFLAGS_append = " -D__FILE_OFFSET_BITS=64"
+LDFLAGS_prepend = "-L${S} -L${S}/openbsd-compat "
+EXTRA_OECONF = --disable-suid-ssh --with-ssl=${STAGING_LIBDIR}/ssl \
+              --with-rand-helper=no
+
+do_compile_append () {
+       install -m 0644 ${FILESDIR}/sshd_config ${S}/
+}
index f263368..719e7d4 100644 (file)
@@ -11,7 +11,6 @@ export CFLAG = "-fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDI
 export DIRS = "crypto ssl"
 export EX_LIBS = "-lgcc -ldl -L${STAGING_LIBDIR}"
 do_compile () {
-       set -e
        perl util/perlpath.pl /usr/bin
        perl ./Configure shared --prefix=/usr --openssldir=/usr/lib/ssl linux-elf-arm
        ln -sf apps/openssl.pod crypto/crypto.pod ssl/ssl.pod doc/
@@ -19,7 +18,6 @@ do_compile () {
 }
 
 do_stage () {
-       set -e
        cp --dereference -R include/openssl ${STAGING_DIR}/target/include/
        install -m 0755 libcrypto.so.0.9.7 ${STAGING_LIBDIR}/
        ln -sf libcrypto.so.0.9.7 ${STAGING_LIBDIR}/libcrypto.so
@@ -28,6 +26,5 @@ do_stage () {
 }
 
 do_install () {
-       set -e
        oe_runmake -f Makefile.ssl INSTALL_PREFIX="${D}" install
 }
index 5294651..27e1ebc 100644 (file)
@@ -23,7 +23,6 @@ do_compile () {
 }
 
 do_stage () {
-       set -e
        install -m 0755 .libs/libpcreposix.so.0.0.0 ${STAGING_LIBDIR}/
        ln -sf libpcreposix.so.0.0.0 ${STAGING_LIBDIR}/libpcreposix.so.0
        install -m 0755 .libs/libpcre.so.0.0.1 ${STAGING_LIBDIR}/
index 76b88a7..bd74b25 100644 (file)
@@ -38,13 +38,11 @@ export SYSCONF_LFLAGS = ${LDFLAGS}
 
 do_compile() {
        unset CC CXX LD LINK CPP CFLAGS CXXFLAGS LDFLAGS
-       set -e
        if [ "$BUILD_ARCH" = "i686" ]; then
                BUILD_ARCH=x86
        fi
        echo yes | ./configure -platform $BUILD_OS-$BUILD_ARCH-g++ $EXTRA_OECONF || die "Configuring qt failed"
        (
-               set -e
                cd src/moc
                export SYSCONF_CXX="${BUILD_CXX}"
                export SYSCONF_CC="${BUILD_CC}"
index e69de29..04c2045 100644 (file)
@@ -0,0 +1,38 @@
+DEPENDS=virtual/libc
+DESCRIPTION = System-V like init.\
+ Init is the first program to run after your system is booted, and\
+ continues to run as process number 1 until your system halts. Inits\
+ job is to start other programs that are essential to the operation of\
+ your system. All processes are descended from init. For more information,\
+ see the manual page init(8).
+
+SRC_URI = ftp://ftp.cistron.nl/pub/people/miquels/${PN}/${P}.tar.gz
+S="${WORKDIR}/${P}/src"
+
+CFLAGS_prepend = "-D_GNU_SOURCE "
+export LCRYPT = "-lcrypt"
+
+do_install () {
+       install -d ${D}/{usr/{,s}bin,sbin,etc/{default,init.d}}
+#      install -m 755 debian/sysv-rc/sbin/invoke-rc.d \
+#              debian/sysv-rc/sbin/update-rc.d ${D}/usr/sbin/
+       install -m 755 halt killall5 \
+               runlevel shutdown ${D}/sbin/
+       install -m 755 init ${D}/sbin/sysvinit
+       install -m 755 mesg last ${D}/usr/bin/
+       install -m 0755 ${FILESDIR}/need                ${D}/sbin/need.sysvinit
+       install -m 0755 ${FILESDIR}/provide             ${D}/sbin/provide.sysvinit
+       ln -sf halt ${D}/sbin/reboot
+       ln -sf halt ${D}/sbin/poweroff
+       ln -sf init ${D}/sbin/telinit
+       ln -sf killall5 ${D}/sbin/pidof
+       ln -sf last ${D}/usr/bin/lastb
+#      echo "/etc/inittab" > ${D}/CONTROL/conffiles
+#      echo "/etc/default/rcS" >> ${D}/CONTROL/conffiles
+#      install -m 0755    ${FILESDIR}/prerm            ${D}/CONTROL/
+#      install -m 0755    ${FILESDIR}/postinst         ${D}/CONTROL/
+       install -m 0644    ${FILESDIR}/inittab  ${D}/etc/inittab
+       install -m 0644    ${FILESDIR}/rcS-default      ${D}/etc/default/rcS
+       install -m 0755    ${FILESDIR}/rc               ${D}/etc/init.d
+       install -m 0755    ${FILESDIR}/rcS              ${D}/etc/init.d
+}
index e69de29..3c1e111 100644 (file)
@@ -0,0 +1,17 @@
+SRC_URI = http://tinylogin.busybox.net/downloads/${P}.tar.bz2
+S = ${WORKDIR}/${P}
+
+EXTRA_OEMAKE =
+
+do_compile () {
+       oe_runmake 'CC=${CC}' 'CROSS=${CROSS}'
+}
+
+do_install () {
+       install -d ${D}/bin
+       install -m 4755 tinylogin ${D}/bin/tinylogin
+       for i in `cat tinylogin.links`; do
+               mkdir -p ${D}/`dirname $i`
+               ln -sf /bin/tinylogin ${D}/$i
+       done
+}
index e8beb09..b882e3c 100644 (file)
@@ -8,12 +8,12 @@ SRC_URI_append = " file://${FILESDIR}/multievent.patch;patch=1"
 SRC_URI_append = " file://${FILESDIR}/envvar_doc.patch;patch=1"
 #SRC_URI_append = " file://${FILESDIR}/raw.patch;patch=1"
 #SRC_URI_append = " file://${FILESDIR}/collie-module.patch;patch=1"
-
 S = ${WORKDIR}/${PN}
 
+inherit autotools
+
 EXTRA_OEMAKE=
 do_compile_prepend () {
-       set -e
        ./autogen.sh
 }
 
@@ -25,8 +25,3 @@ do_stage () {
        install -m 0644 src/tslib.h ${STAGING_DIR}/target/include/
        install -m 0644 src/tslib-private.h ${STAGING_DIR}/target/include/
 }
-
-do_install () {
-       set -e
-       oe_runmake DESTDIR="${D}" install
-}
index 5c73834..1788743 100644 (file)
@@ -14,7 +14,6 @@ export CFLAGS:="-fPIC ${CFLAGS}"
 export AR:="${AR} rc"
 
 do_compile() {
-       set -e
        ./configure --prefix=${prefix} --exec_prefix=${exec_prefix} --shared --libdir=${libdir} --includedir=${includedir}
        oe_runmake libz.so.1.1.4 libz.a
 }
index 5778214..9194f09 100644 (file)
@@ -3,16 +3,12 @@ SECTION="base"
 PRIORITY="optional"
 MAINTAINER="Chris Larson <kergoth@handhelds.org>"
 RDEPENDS="libc6"
+DEPENDS=virtual/libc ncurses pcre
 
 SRC_URI="http://www.zsh.org/pub/${P}.tar.bz2"
-DEPENDS=virtual/libc ncurses pcre
 S="${WORKDIR}/${P}"
 
+inherit autotools
+
 EXTRA_OECONF = "--with-curses-terminfo"
-#EXTRA_OECONF = "--with-curses-terminfo --enable-libs='-lncurses'"
 EXTRA_OEMAKE = 
-
-do_install () {
-       set -e
-       oe_runmake DESTDIR=${D} install
-}