wok-next view beaver/receipt @ rev 11620
Up slitaz-boot-scripts (4.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 24 11:48:19 2012 +0100 (2012-01-24) |
parents | a3b7fe0615c6 |
children | 7fb09aed8649 |
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"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p \
29 $fs/usr/share/beaver
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/beaver/resource $fs/usr/share/beaver
33 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
34 # Custom default configuration
35 cp -a $stuff/beaver.conf.default $fs/usr/share/beaver/resource
36 }