From e09a0143f1685f35e68fa9fa38771310b157859a Mon Sep 17 00:00:00 2001 From: Niclas Hofmann Date: Thu, 12 Sep 2019 14:49:56 +0200 Subject: [PATCH 1/2] which: be0 conversion --- which-2.20-0.bee | 26 ---------------- which.be0 | 79 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+), 26 deletions(-) delete mode 100755 which-2.20-0.bee create mode 100755 which.be0 diff --git a/which-2.20-0.bee b/which-2.20-0.bee deleted file mode 100755 index 93328a449..000000000 --- a/which-2.20-0.bee +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/env beesh - -PGRP=( uncategorized ) - -SRCURL[0]="http://www.xs4all.nl/~carlo17/which/which-2.20.tar.gz" - -PATCHES[0]="" - -# EXCLUDE="" - -mee_patch() { - bee_patch -} - -mee_configure() { - bee_configure -} - -mee_build() { - bee_build -} - -mee_install() { - bee_install -} - diff --git a/which.be0 b/which.be0 new file mode 100755 index 000000000..d90680cb9 --- /dev/null +++ b/which.be0 @@ -0,0 +1,79 @@ +#!/usr/bin/env beesh + +# BEE_VERSION which-2.20-1 + +## 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]="https://carlo17.home.xs4all.nl/which/which-2.20.tar.gz" + +############################################################################### +## Add URLs/pathes to patch files to the PATCHURL array. +## The sources will be patched in the order of the array. + +# PATCHURL+=() + +############################################################################### +## Uncomment the next statement, if the software may not be able to be built +## outside the source directory and needs to be built 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 + + +############################################################################### +## 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() { +# bee_configure +#} + +#mee_build() { +# bee_build +#} + +#mee_install() { +# bee_install +#} +## 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/ +## From c2478397fa704fd8467e9d007f2d660bd3aa5d19 Mon Sep 17 00:00:00 2001 From: Niclas Hofmann Date: Thu, 12 Sep 2019 14:52:35 +0200 Subject: [PATCH 2/2] which: update download url --- which.be0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/which.be0 b/which.be0 index d90680cb9..40677625a 100755 --- a/which.be0 +++ b/which.be0 @@ -9,7 +9,7 @@ ## 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]="https://carlo17.home.xs4all.nl/which/which-2.20.tar.gz" +SRCURL[0]="ftp://ftp.gnu.org/gnu/which/which-${PKGVERSION}.tar.gz which-${PKGVERSION}.tar.gz" ############################################################################### ## Add URLs/pathes to patch files to the PATCHURL array.