wok diff beaver/receipt @ rev 19446

dillo: add stuff/fltk-1.3.3.u
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 15 18:21:21 2016 +0200 (2016-10-15)
parents 7ba431b2174b
children 4b55a51aefa5
line diff
     1.1 --- a/beaver/receipt	Sun Apr 06 16:03:46 2014 +0200
     1.2 +++ b/beaver/receipt	Sat Oct 15 18:21:21 2016 +0200
     1.3 @@ -2,41 +2,40 @@
     1.4  
     1.5  PACKAGE="beaver"
     1.6  VERSION="0.4.1"
     1.7 -CATEGORY="development"
     1.8 -SHORT_DESC="Simple and very light advanced text editor."
     1.9 +CATEGORY="text"
    1.10 +SHORT_DESC="Simple and very light advanced text editor"
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="http://beaver-editor.sourceforge.net/"
    1.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 -WEB_SITE="http://beaver-editor.sf.net/"
    1.16  WGET_URL="$SF_MIRROR/$PACKAGE-editor/$TARBALL"
    1.17  TAGS="text-editor"
    1.18  HOST_ARCH="i486 arm"
    1.19 +GENERIC_PIXMAPS="no"
    1.20  
    1.21 -GENERIC_PIXMAPS="no"
    1.22  DEPENDS="gtk+ xorg-libXdamage"
    1.23  BUILD_DEPENDS="gtk+-dev xorg-xproto expat-dev"
    1.24 +SPLIT="beaver-plugins"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29  	sed -i 's|dir/po/\*\.po|& 2>/dev/null|' configure
    1.30 -	./configure \
    1.31 -		$CONFIGURE_ARGS &&
    1.32 -	make && make install
    1.33 +	patch -p1 -i $stuff/icon.patch
    1.34 +
    1.35 +	./configure $CONFIGURE_ARGS && make && make install
    1.36 +
    1.37 +	cook_compress_png
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -	mkdir -p \
    1.44 -		$fs/usr/share/beaver \
    1.45 -		$fs/usr/share/icons/hicolor/32x32/ 
    1.46 -		
    1.47 -	cp -a $install/usr/bin $fs/usr
    1.48 +	cook_copy_files beaver
    1.49 +	cook_copy_icons
    1.50 +	mkdir -p $fs/usr/share/beaver
    1.51  	cp -a $install/usr/share/beaver/resource $fs/usr/share/beaver
    1.52 -	cp -a $install/usr/share/icons/hicolor/32x32/apps \
    1.53 -		$fs/usr/share/icons/hicolor/32x32/
    1.54 -	
    1.55 +
    1.56  	# Custom default configuration
    1.57  	cp -a $stuff/beaver.conf.default $fs/usr/share/beaver/resource
    1.58  }