wok-current view beaver/receipt @ rev 23994
linld: no initrd fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 15 08:41:50 2020 +0000 (2020-12-15) |
parents | 4b55a51aefa5 |
children | 68cf96abc146 |
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 mkdir -p $fs/usr/share/icons/hicolor/32x32/
33 cp -a $install/usr/share/icons/hicolor/32x32/apps \
34 $fs/usr/share/icons/hicolor/32x32/
35 cook_copy_files beaver
36 cook_copy_icons
37 mkdir -p $fs/usr/share/beaver
38 cp -a $install/usr/share/beaver/resource $fs/usr/share/beaver
40 # Custom default configuration
41 cp -a $stuff/beaver.conf.default $fs/usr/share/beaver/resource
42 }