wok view beaver/receipt @ rev 19415

make-slitaz-icons: add multimedia-video-player icon
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Sep 24 16:49:43 2016 +0300 (2016-09-24)
parents 7ba431b2174b
children 4b55a51aefa5
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
28 cook_compress_png
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cook_copy_files beaver
35 cook_copy_icons
36 mkdir -p $fs/usr/share/beaver
37 cp -a $install/usr/share/beaver/resource $fs/usr/share/beaver
39 # Custom default configuration
40 cp -a $stuff/beaver.conf.default $fs/usr/share/beaver/resource
41 }