wok-4.x view beaver/receipt @ rev 5008

[x-z]*: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 28 18:16:33 2010 +0100 (2010-02-28)
parents e1a68e5d0646
children b843d4d03bfa
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 automake autoconf"
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 # Fix bug with DESTDIR
22 patch -p1 -i ../stuff/makefile.am.u || exit 1
23 ./autogen.sh &&
24 ./configure \
25 --prefix=/usr \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p \
34 $fs/usr/share/beaver \
35 $fs/usr/share/pixmaps
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/share/beaver/resource $fs/usr/share/beaver
38 cp $src/pixmaps/icons/32x32/* $fs/usr/share/pixmaps
39 # Custom default configuration
40 cp -a stuff/beaver.conf.default $fs/usr/share/beaver/resource
41 }