wok view beaver/receipt @ rev 24521
updated ettercap (0.8.3 -> 0.8.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 22 15:47:04 2022 +0100 (2022-02-22) |
parents | 68cf96abc146 |
children | 7dd01dedad38 |
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 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/Stable/!d;s|.*Beaver ||;s| Stable.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i 's|dir/po/\*\.po|& 2>/dev/null|' configure
30 patch -p1 -i $stuff/icon.patch
32 ./configure $CONFIGURE_ARGS && make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share/icons/hicolor/32x32/
39 cp -a $install/usr/share/icons/hicolor/32x32/apps \
40 $fs/usr/share/icons/hicolor/32x32/
41 cook_copy_files beaver
42 cook_copy_icons
43 mkdir -p $fs/usr/share/beaver
44 cp -a $install/usr/share/beaver/resource $fs/usr/share/beaver
46 # Custom default configuration
47 cp -a $stuff/beaver.conf.default $fs/usr/share/beaver/resource
48 }