wok-current view beaver/receipt @ rev 14770
Up busybox (1.21.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 29 17:32:45 2013 +0200 (2013-06-29) |
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 }