wok-current view beaver/receipt @ rev 4831

Up: beaver (0.4.0rc1) - Add custom config file, may replace geany has code editor
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jan 21 23:14:05 2010 +0100 (2010-01-21)
parents 4ffc7c76d358
children 8eb12df059bb
line source
1 # SliTaz package receipt.
3 PACKAGE="beaver"
4 # Stable: VERSION="0.3.0.1"
5 VERSION="0.4.0rc1"
6 CATEGORY="development"
7 SHORT_DESC="Simple and very light advanced text editor."
8 MAINTAINER="pankso@slitaz.org"
9 DEPENDS="gtk+ xorg-libXdamage"
10 BUILD_DEPENDS="gtk+-dev xorg-xproto"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.nongnu.org/beaver/"
13 WGET_URL="http://www.nongnu.org/beaver/dloads/tarballs/$TARBALL"
14 TAGS="text-editor"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mv beaver0.4.0 $src 2>/dev/null
20 cd $src
21 ./autogen.sh &&
22 ./configure \
23 --prefix=/usr \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p \
32 $fs/usr/share/beaver \
33 $fs/usr/share/pixmaps
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/share/beaver/resource $fs/usr/share/beaver
36 cp $src/pixmaps/icons/32x32/* $fs/usr/share/pixmaps
37 # Custom default configuration
38 cp -a stuff/beaver.conf.default $fs/usr/share/beaver/resource
39 }