wok view beaver/receipt @ rev 14198

move to undigest: xorg-xf86-video-sis xorg-xf86-video-savage xorg-xf86-video-r128 xorg-xf86-video-openchrome xorg-xf86-video-mga xorg-xf86-video-mach64
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 13 10:16:45 2013 +0100 (2013-03-13)
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 }