wok rev 1523

fxload: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 08 17:05:29 2008 +0000 (2008-10-08)
parents fcf7426b607e
children d86a706d7fcd
files fxload/receipt goffice/receipt
line diff
     1.1 --- a/fxload/receipt	Wed Oct 08 17:01:36 2008 +0000
     1.2 +++ b/fxload/receipt	Wed Oct 08 17:05:29 2008 +0000
     1.3 @@ -12,18 +12,19 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	ln -s fxload-* $src
     1.8 -	wget http://updates.xorcom.com/astribank/$PACKAGE/$PACKAGE
     1.9 +	ln -s fxload-*_* $src
    1.10 +	cd $src
    1.11 +	mkdir -p _pkg/usr/share/usb
    1.12 +	cp a3load.hex _pkg/usr/share/usb || return 1
    1.13 +	wget http://updates.xorcom.com/astribank/$PACKAGE/$PACKAGE || return 1
    1.14  	chmod +x fxload
    1.15 +	mkdir -p _pkg/usr/bin
    1.16 +	mv fxload _pkg/usr/bin
    1.17  }
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22 -
    1.23 -	mkdir -p $fs/usr/bin $fs/usr/share/usb
    1.24 -	cp -a fxload $fs/usr/bin
    1.25 -	cp -a fxload*/a3load.hex $fs/usr/share/usb
    1.26 -	
    1.27 +	cp -a $_pkg/usr $fs	
    1.28  }
    1.29  
     2.1 --- a/goffice/receipt	Wed Oct 08 17:01:36 2008 +0000
     2.2 +++ b/goffice/receipt	Wed Oct 08 17:05:29 2008 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="goffice"
     2.7 -VERSION="0.6.2"
     2.8 +VERSION="0.6.5"
     2.9  CATEGORY="x-window"
    2.10  SHORT_DESC="GOffice is a library of document-centric objects and utilities."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12 @@ -9,7 +9,7 @@
    2.13  BUILD_DEPENDS="gtk+-dev libgsf-dev libglade-dev"
    2.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.15  WEB_SITE="http://freshmeat.net/projects/goffice/"
    2.16 -WGET_URL="http://freshmeat.net/redir/goffice/58291/url_tgz/$TARBALL"
    2.17 +WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/goffice/0.6/$TARBALL"
    2.18  
    2.19  # Rules to configure and make the package.
    2.20  compile_rules()
    2.21 @@ -19,8 +19,8 @@
    2.22  		--prefix=/usr \
    2.23  		--mandir=/usr/share/man \
    2.24  		--with-html-dir=/usr/share/doc \
    2.25 -		$CONFIGURE_ARGS
    2.26 -	make
    2.27 +		$CONFIGURE_ARGS &&
    2.28 +	make &&
    2.29  	make DESTDIR=$PWD/_pkg install
    2.30  }
    2.31