From fec1758075b8a61c426b8313216d5e8d5d077531 Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Fri, 8 Jun 2018 12:26:25 +0200 Subject: [PATCH] ed: update from 1.9 to 1.14 - be0ify - relocate from /usr/local to /usr - include spurious /bin symlinks --- ed-1.9-0.bee | 85 ---------------------------------------------------- ed.be0 | 33 ++++++++++++++++++++ 2 files changed, 33 insertions(+), 85 deletions(-) delete mode 100755 ed-1.9-0.bee create mode 100755 ed.be0 diff --git a/ed-1.9-0.bee b/ed-1.9-0.bee deleted file mode 100755 index 7d0e63a3e..000000000 --- a/ed-1.9-0.bee +++ /dev/null @@ -1,85 +0,0 @@ -#!/usr/bin/env beesh - -## this file was created by bee init and should be executed to build a -## bee-package. (Additional hints are located at the end of this file.) - -############################################################################### -## The source URL(s) define the location of the sources that will be -## downloaded. Version variables may be used to simplify reuse of this bee-file. - -SRCURL[0]="ftp://ftp.gnu.org/pub/gnu/ed/ed-${PKGVERSION}.tar.gz" - -############################################################################### -## Add URLs/pathes to patch files to the PATCHURL array. -## The sources will be patched in the order of the array. - -# PATCHURL+=() - -############################################################################### -## Add filename patterns to the EXCLUDE array of files that should not -## be added to you package but may be present in the image directory. - -# EXCLUDE+=() - -############################################################################### -## Uncomment the next statement, if the software may not be able to be build -## outside the source directory and need to be build inside the source -## directory. - -# build_in_sourcedir - -############################################################################### -## bee cannot detect buildtypes specified in subdirectories. -## Sometimes packages "hide" the real sources in a subdirectory named -## 'src' or 'cmake' or .. -## use 'sourcesubdir_append' to specify this directory if known. - -# sourcesubdir_append src - -BEE_BUILDTYPE=autotools - - -############################################################################### -## Change the default (auto-detected) steps to -## extract, patch, configure/setup, build and install the software. -## Make sure the mee_install function does install everything to the -## image directory "${D}" - -#mee_extract() { -# bee_extract "${@}" -#} - -#mee_patch() { -# bee_patch "${@}" -#} - -mee_configure() { - start_cmd ${S}/configure ${DEFCONFIG} -} - -mee_build() { - make -} - -mee_install() { - make install DESTDIR=${D} -} -## by default this may be 'make install DESTDIR="${D}"' - -############################################################################### -## -## Additional hints: -## -## The name of this bee-file should follow the following naming convention: -## pkgname-pkgversion-pkgrevision.bee -## -## You may remove all comments as long as SRCURL[0]="" is set. -## -## Everything in this file will be executed in a bash environment. -## -## Build the package by executing -## './pkg-version-N.bee' or -## 'beesh ./pkg-version-N.bee' -## -## see http://beezinga.org/ -## diff --git a/ed.be0 b/ed.be0 new file mode 100755 index 000000000..0f1a5f425 --- /dev/null +++ b/ed.be0 @@ -0,0 +1,33 @@ +#!/usr/bin/env beesh + +# BEE_VERSION ed-1.14.2-0 +SRCURL[0]="https://ftp.gnu.org/pub/gnu/ed/ed-${PKGVERSION}.tar.lz" + +# build_in_sourcedir + +BEE_BUILDTYPE=autotools + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +#mee_configure() { +# start_cmd ${S}/configure --prefix=/usr +#} + +mee_build() { + make CFLAGS='-Wno-misleading-indentation' +} + +mee_install() { + # make install DESTDIR=${D} + bee_install + mkdir ${D}/bin + ln -s /usr/bin/ed ${D}/bin/ed + ln -s /usr/bin/red ${D}/bin/red +} +## by default this may be 'make install DESTDIR="${D}"'