wok-next view beaver/receipt @ rev 20577
More fix libtool
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 03:34:33 2018 +0300 (2018-04-14) |
parents | c4e53a39395a |
children | 10df65db91ad |
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 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/
33 GENERIC_PIXMAPS="no"
34 cook_copy_icons
35 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \
36 libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \
37 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
38 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
39 xorg-pixman zlib"
40 TAGS="text-editor"
41 ;;
42 *-plugins)
43 copy *.so
44 CAT="text|plugins"
45 ;;
46 esac
47 }