From 243f441100ea220b9049d50e1b904a8c77c6a8a1 Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Tue, 24 Sep 2019 10:02:27 +0200 Subject: [PATCH 1/2] cairo: beautify bee --- cairo.be0 | 55 +------------------------------------------------------ 1 file changed, 1 insertion(+), 54 deletions(-) diff --git a/cairo.be0 b/cairo.be0 index c522de4a1..16510bcdb 100755 --- a/cairo.be0 +++ b/cairo.be0 @@ -1,50 +1,16 @@ #!/usr/bin/env beesh -# BEE_VERSION cairo-1.17.2-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. +# BEE_VERSION cairo-1.17.2-2 SRCURL[0]="https://cairographics.org/snapshots/cairo-${PKGVERSION}.tar.xz" -############################################################################### -## Add URLs/pathes to patch files to the PATCHURL array. -## The sources will be patched in the order of the array. - PATCHURL+=(/src/mariux/patches/0001-Revert-clip-boxes-Drop-too-early-return.patch) -############################################################################### -## 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 -############################################################################### -## 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 "${@}" #} @@ -64,22 +30,3 @@ PATCHURL+=(/src/mariux/patches/0001-Revert-clip-boxes-Drop-too-early-return.patc #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 2b67eb6433a5fade36a947e3dbfc15f3f3283858 Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Tue, 24 Sep 2019 10:11:54 +0200 Subject: [PATCH 2/2] cairo: remove html dev docs --- cairo.be0 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cairo.be0 b/cairo.be0 index 16510bcdb..f7ba620d6 100755 --- a/cairo.be0 +++ b/cairo.be0 @@ -30,3 +30,8 @@ PATCHURL+=(/src/mariux/patches/0001-Revert-clip-boxes-Drop-too-early-return.patc #mee_install() { # bee_install #} + +mee_install_post() { + # remove html docs + rm -vrf ${D}/usr/share +}