wok view beaver/receipt @ rev 25501
Up aspell-pl (6.0_20230101-0), monitorix (3.15.0), simh (3.12.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 11 14:20:29 2023 +0000 (22 months ago) |
parents | 7dd01dedad38 |
children |
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="https://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 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed '/Stable/!d;s|.*Beaver ||;s| Stable.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 sed -i 's|dir/po/\*\.po|& 2>/dev/null|' configure
31 patch -p1 -i $stuff/icon.patch
33 ./configure $CONFIGURE_ARGS && make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share/icons/hicolor/32x32/
40 cp -a $install/usr/share/icons/hicolor/32x32/apps \
41 $fs/usr/share/icons/hicolor/32x32/
42 cook_copy_files beaver
43 cook_copy_icons
44 mkdir -p $fs/usr/share/beaver
45 cp -a $install/usr/share/beaver/resource $fs/usr/share/beaver
47 # Custom default configuration
48 cp -a $stuff/beaver.conf.default $fs/usr/share/beaver/resource
49 }