wok-6.x view beaver/receipt @ rev 13826
beaver: fix log output
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 07 11:25:06 2013 +0100 (2013-01-07) |
parents | 92fad3dbcae4 |
children | 475fde14b011 |
line source
1 # SliTaz package receipt.
3 PACKAGE="beaver"
4 VERSION="0.4.1"
5 CATEGORY="development"
6 SHORT_DESC="Simple and very light advanced text editor."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev xorg-xproto intltool expat-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://beaver-editor.sf.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE-editor/$TARBALL"
13 TAGS="text-editor"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's|dir/po/\*\.po|& 2>/dev/null|' configure
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p \
30 $fs/usr/share/beaver
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/beaver/resource $fs/usr/share/beaver
34 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
36 # Custom default configuration
37 cp -a $stuff/beaver.conf.default $fs/usr/share/beaver/resource
38 }