wok-next annotate beaver/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | f463de72afe3 |
children | c4e53a39395a |
rev | line source |
---|---|
al@19816 | 1 # SliTaz package receipt v2. |
pankso@1008 | 2 |
pankso@1008 | 3 PACKAGE="beaver" |
slaxemulator@6297 | 4 VERSION="0.4.1" |
al@19275 | 5 CATEGORY="text" |
al@19275 | 6 SHORT_DESC="Simple and very light advanced text editor" |
pankso@1008 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@19275 | 9 WEB_SITE="http://beaver-editor.sourceforge.net/" |
al@19816 | 10 HOST_ARCH="i486 arm" |
al@19816 | 11 |
erjo@5928 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19816 | 13 WGET_URL="$SF_MIRROR/beaver-editor/$TARBALL" |
pankso@16281 | 14 |
al@19816 | 15 BUILD_DEPENDS="intltool gtk+-dev" |
al@19275 | 16 SPLIT="beaver-plugins" |
pascal@15002 | 17 |
pankso@1008 | 18 # Rules to configure and make the package. |
pankso@1008 | 19 compile_rules() |
pankso@1008 | 20 { |
pascal@13826 | 21 sed -i 's|dir/po/\*\.po|& 2>/dev/null|' configure |
al@19275 | 22 |
al@19816 | 23 ./configure $CONFIGURE_ARGS && make && make install && |
al@19816 | 24 |
al@19816 | 25 # Custom default configuration |
al@19816 | 26 cp $stuff/beaver.conf.default $install/usr/share/beaver/resource/ |
pankso@1008 | 27 } |
pankso@1008 | 28 |
pankso@1008 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1008 | 30 genpkg_rules() |
pankso@1008 | 31 { |
al@19816 | 32 case $PACKAGE in |
al@19816 | 33 beaver) |
al@19816 | 34 copy beaver resource/ |
al@19816 | 35 GENERIC_PIXMAPS="no" |
al@19816 | 36 cook_copy_icons |
al@19816 | 37 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \ |
al@19816 | 38 libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \ |
al@19816 | 39 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \ |
al@19816 | 40 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \ |
al@19816 | 41 xorg-pixman zlib" |
al@19816 | 42 TAGS="text-editor" |
al@19816 | 43 ;; |
al@19816 | 44 *-plugins) |
al@19816 | 45 copy *.so |
al@19816 | 46 CAT="text|plugins" |
al@19816 | 47 ;; |
al@19816 | 48 esac |
pankso@1008 | 49 } |