wok view beaver/receipt @ rev 21605
Up opus (1.3.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 23 13:26:20 2019 +0200 (2019-05-23) |
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 }