wok-next view beaver/receipt @ rev 19939
Replace s/libtool/libltdl/ in deps, libtool is build_dep.
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sun Oct 15 18:18:17 2017 +0200 (2017-10-15) |
parents | f463de72afe3 |
children | c4e53a39395a |
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/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/beaver-editor/$TARBALL"
15 BUILD_DEPENDS="intltool gtk+-dev"
16 SPLIT="beaver-plugins"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's|dir/po/\*\.po|& 2>/dev/null|' configure
23 ./configure $CONFIGURE_ARGS && make && make install &&
25 # Custom default configuration
26 cp $stuff/beaver.conf.default $install/usr/share/beaver/resource/
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 case $PACKAGE in
33 beaver)
34 copy beaver resource/
35 GENERIC_PIXMAPS="no"
36 cook_copy_icons
37 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \
38 libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \
39 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
40 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
41 xorg-pixman zlib"
42 TAGS="text-editor"
43 ;;
44 *-plugins)
45 copy *.so
46 CAT="text|plugins"
47 ;;
48 esac
49 }