wok-next view beaver/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 6befec62b46c
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="beaver"
4 VERSION="0.4.1"
5 CATEGORY="text"
6 SHORT_DESC="Simple and very light advanced text editor"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://beaver-editor.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/beaver-editor/$TARBALL"
14 BUILD_DEPENDS="intltool gtk2-dev"
15 SPLIT="beaver-plugins"
17 compile_rules() {
18 sed -i 's|dir/po/\*\.po|& 2>/dev/null|' configure
20 ./configure $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install || return 1
25 # Custom default configuration
26 cp $stuff/beaver.conf.default $install/usr/share/beaver/resource/
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 beaver)
32 copy beaver resource/ @ico
33 COOKOPTS="!pixmaps"
34 DEPENDS="cairo gdk-pixbuf glib gtk2 pango"
35 TAGS="text-editor"
36 ;;
37 *-plugins)
38 copy *.so
39 CAT="text|plugins"
40 ;;
41 esac
42 }