wok-next view beaver/receipt @ rev 20534

Clean default configure options when site script used.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 30 19:31:50 2018 +0300 (2018-03-30)
parents 0e8dadf052b9
children 835b3b8ce6ac
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 gtk+-dev"
15 SPLIT="beaver-plugins"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|dir/po/\*\.po|& 2>/dev/null|' configure
22 ./configure $CONFIGURE_ARGS && make && make install &&
24 # Custom default configuration
25 cp $stuff/beaver.conf.default $install/usr/share/beaver/resource/
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 case $PACKAGE in
32 beaver)
33 copy beaver resource/
34 GENERIC_PIXMAPS="no"
35 cook_copy_icons
36 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \
37 libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \
38 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
39 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
40 xorg-pixman zlib"
41 TAGS="text-editor"
42 ;;
43 *-plugins)
44 copy *.so
45 CAT="text|plugins"
46 ;;
47 esac
48 }