wok-6.x view beaver/receipt @ rev 19763

goffice: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 19 10:45:21 2017 +0100 (2017-02-19)
parents 11b5e93cb5f2
children f96e26cdfd7a
line source
1 # SliTaz package receipt.
3 PACKAGE="beaver"
4 VERSION="0.4.1"
5 CATEGORY="text"
6 SHORT_DESC="Simple and very light advanced text editor"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://beaver-editor.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="$SF_MIRROR/$PACKAGE-editor/$TARBALL"
12 TAGS="text-editor"
13 HOST_ARCH="i486 arm"
14 GENERIC_PIXMAPS="no"
16 DEPENDS="gtk+ xorg-libXdamage"
17 BUILD_DEPENDS="gtk+-dev xorg-xproto expat-dev"
18 SPLIT="beaver-plugins"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i 's|dir/po/\*\.po|& 2>/dev/null|' configure
24 patch -p1 -i $stuff/icon.patch
26 ./configure $CONFIGURE_ARGS && make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cook_copy_files beaver
33 cook_copy_icons
34 mkdir -p $fs/usr/share/beaver
35 cp -a $install/usr/share/beaver/resource $fs/usr/share/beaver
37 # Custom default configuration
38 cp -a $stuff/beaver.conf.default $fs/usr/share/beaver/resource
39 }