wok-current view beaver/receipt @ rev 15781

linux: remove kmod dep
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 13 00:02:35 2014 +0100 (2014-01-13)
parents 475fde14b011
children 7ba431b2174b
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://beaver-editor.sf.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE-editor/$TARBALL"
12 TAGS="text-editor"
13 GENERIC_PIXMAPS="no"
15 DEPENDS="gtk+ xorg-libXdamage"
16 BUILD_DEPENDS="gtk+-dev xorg-xproto intltool expat-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i 's|dir/po/\*\.po|& 2>/dev/null|' configure
23 ./configure \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p \
33 $fs/usr/share/beaver \
34 $fs/usr/share/icons/hicolor/32x32/
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/beaver/resource $fs/usr/share/beaver
38 cp -a $install/usr/share/icons/hicolor/32x32/apps $fs/usr/share/icons/hicolor/32x32/
40 # Custom default configuration
41 cp -a $stuff/beaver.conf.default $fs/usr/share/beaver/resource
42 }