wok rev 5928

Up: beaver (0.4.0) + URL change.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jul 30 10:02:47 2010 +0200 (2010-07-30)
parents 50dc3d3d35b3
children 74ffc517dae9
files beaver/receipt
line diff
     1.1 --- a/beaver/receipt	Thu Jul 29 17:14:21 2010 +0200
     1.2 +++ b/beaver/receipt	Fri Jul 30 10:02:47 2010 +0200
     1.3 @@ -1,26 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="beaver"
     1.7 -# Stable: VERSION="0.3.0.1"
     1.8 -VERSION="0.4.0rc1"
     1.9 +VERSION="0.4.0"
    1.10  CATEGORY="development"
    1.11  SHORT_DESC="Simple and very light advanced text editor."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  DEPENDS="gtk+ xorg-libXdamage"
    1.14 -BUILD_DEPENDS="gtk+-dev xorg-xproto automake autoconf"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://www.nongnu.org/beaver/"
    1.17 -WGET_URL="http://www.nongnu.org/beaver/dloads/tarballs/$TARBALL"
    1.18 +BUILD_DEPENDS="gtk+-dev xorg-xproto"
    1.19 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.20 +WEB_SITE="http://beaver-editor.sf.net/"
    1.21 +WGET_URL="$SF_MIRROR/$PACKAGE-editor/$TARBALL"
    1.22  TAGS="text-editor"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	mv beaver0.4.0 $src 2>/dev/null
    1.28  	cd $src
    1.29 -	# Fix bug with DESTDIR 
    1.30 -	patch -p1 -i ../stuff/makefile.am.u || exit 1
    1.31 -	./autogen.sh &&
    1.32  	./configure \
    1.33  		--prefix=/usr \
    1.34  		$CONFIGURE_ARGS &&
    1.35 @@ -31,11 +26,11 @@
    1.36  genpkg_rules()
    1.37  {
    1.38  	mkdir -p \
    1.39 -		$fs/usr/share/beaver \
    1.40 -		$fs/usr/share/pixmaps
    1.41 +		$fs/usr/share/beaver 
    1.42 +		
    1.43  	cp -a $_pkg/usr/bin $fs/usr
    1.44  	cp -a $_pkg/usr/share/beaver/resource $fs/usr/share/beaver
    1.45 -	cp $src/pixmaps/icons/32x32/* $fs/usr/share/pixmaps
    1.46 +	cp $_pkg/usr/share/pixmaps $fs/usr/share
    1.47  	# Custom default configuration
    1.48  	cp -a stuff/beaver.conf.default $fs/usr/share/beaver/resource
    1.49  }