wok view beaver/receipt @ rev 14967

Up: firefox-langpack-fr (17.0.8esr)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 22:19:58 2013 +0200 (2013-08-08)
parents e86d380d0a30
children 7896f0694ef6
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"
14 GENERIC_PIXMAPS="no"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's|dir/po/\*\.po|& 2>/dev/null|' configure
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p \
31 $fs/usr/share/beaver \
32 $fs/usr/share/icons/hicolor/32x32/
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/share/beaver/resource $fs/usr/share/beaver
36 cp -a $_pkg/usr/share/icons/hicolor/32x32/apps $fs/usr/share/icons/hicolor/32x32/
38 # Custom default configuration
39 cp -a $stuff/beaver.conf.default $fs/usr/share/beaver/resource
40 }