From 65d35e71227538a3fd0d942afcc8cf4009c4d382 Mon Sep 17 00:00:00 2001 From: Niclas Hofmann Date: Mon, 16 Sep 2019 10:04:11 +0200 Subject: [PATCH] epdfview: fix urls and be0 conversion --- epdfview-0.1.8-3.bee | 48 --------------------------- epdfview.be0 | 79 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+), 48 deletions(-) delete mode 100755 epdfview-0.1.8-3.bee create mode 100755 epdfview.be0 diff --git a/epdfview-0.1.8-3.bee b/epdfview-0.1.8-3.bee deleted file mode 100755 index 8b75ef40e..000000000 --- a/epdfview-0.1.8-3.bee +++ /dev/null @@ -1,48 +0,0 @@ -#!/usr/bin/env beesh - -SRCURL[0]="http://trac.emma-soft.com/epdfview/chrome/site/releases/epdfview-${PKGVERSION}.tar.gz" - -PATCHURL[0]="" - -# BEE_CONFIGURE=compat - -# BEE_BUILDTYPE= - -# EXCLUDE=() - -# build_in_sourcedir - - - - - -#mee_extract() { -# bee_extract "${@}" -#} - -mee_patch() { -cat << EOF > patch.txt ---- ./src/gtk/StockIcons.h.orig 2012-07-26 15:25:42.619923541 +0200 -+++ ./src/gtk/StockIcons.h 2012-07-26 15:26:11.376566852 +0200 -@@ -18,7 +18,7 @@ - --#include -+#include - - G_BEGIN_DECLS -EOF - -patch -p1 < patch.txt -} - -#mee_configure() { -# bee_configure -#} - -#mee_build() { -# bee_build -#} - -#mee_install() { -# bee_install -#} diff --git a/epdfview.be0 b/epdfview.be0 new file mode 100755 index 000000000..4c9d35b18 --- /dev/null +++ b/epdfview.be0 @@ -0,0 +1,79 @@ +#!/usr/bin/env beesh + +# BEE_VERSION epdfview-0.1.8-4 + +## 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]="http://anduin.linuxfromscratch.org/BLFS/epdfview/epdfview-${PKGVERSION}.tar.bz2 epdfview-${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[0]="http://www.linuxfromscratch.org/patches/blfs/svn/epdfview-0.1.8-fixes-2.patch" + +############################################################################### +## 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/ +##