wok-current rev 8752

Removed src= lines. Not need now with tazwok-experimental.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Feb 20 07:06:28 2011 +0000 (2011-02-20)
parents be13f25e790b
children 7a849d93caa3
files adeskbar/receipt alsaequal/receipt brscan2/receipt dd_rescue/receipt electric-fence/receipt freeradius-dialupadmin/receipt input-utils/receipt libjpeg62/receipt ndiswrapper-utils/receipt ntpclient/receipt ocsreports/receipt pidgin-facebookchat/receipt ttf-dejavu-extra/receipt wbarconf/receipt zip/receipt
line diff
     1.1 --- a/adeskbar/receipt	Sun Feb 20 06:53:59 2011 +0000
     1.2 +++ b/adeskbar/receipt	Sun Feb 20 07:06:28 2011 +0000
     1.3 @@ -14,7 +14,6 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	src=${src%-*}
     1.8  	mkdir -p $fs/usr/share/adeskbar $fs/usr/bin \
     1.9  		$fs/usr/share/pixmaps $fs/usr/share/applications
    1.10  	cp -a $src/src/*  $fs/usr/share/adeskbar
     2.1 --- a/alsaequal/receipt	Sun Feb 20 06:53:59 2011 +0000
     2.2 +++ b/alsaequal/receipt	Sun Feb 20 07:06:28 2011 +0000
     2.3 @@ -14,7 +14,6 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 -	src=$PACKAGE
     2.8  	cd $src
     2.9  	make 
    2.10  }
    2.11 @@ -23,7 +22,6 @@
    2.12  genpkg_rules()
    2.13  {
    2.14  	mkdir -p $fs/usr/lib/alsa-lib
    2.15 -	src=$PACKAGE
    2.16  	cp -a $src/*.so* $fs/usr/lib/alsa-lib
    2.17  }
    2.18  
     3.1 --- a/brscan2/receipt	Sun Feb 20 06:53:59 2011 +0000
     3.2 +++ b/brscan2/receipt	Sun Feb 20 07:06:28 2011 +0000
     3.3 @@ -13,7 +13,6 @@
     3.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     3.5  genpkg_rules()
     3.6  {
     3.7 -	src=$WOK/$WANTED/$WANTED-src-$VERSION
     3.8  	mkdir -p $fs/usr/bin $fs/usr/lib/sane $fs/usr/local/Brother/sane/models2
     3.9  	for i in ALL AL ; do
    3.10  		mkdir -p $fs/usr/local/Brother/sane/GrayCmData/$i
     4.1 --- a/dd_rescue/receipt	Sun Feb 20 06:53:59 2011 +0000
     4.2 +++ b/dd_rescue/receipt	Sun Feb 20 07:06:28 2011 +0000
     4.3 @@ -13,7 +13,6 @@
     4.4  # Rules to configure and make the package.
     4.5  compile_rules()
     4.6  {
     4.7 -	src=$PACKAGE
     4.8  	cd $src
     4.9  	make
    4.10  }
    4.11 @@ -21,13 +20,7 @@
    4.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.13  genpkg_rules()
    4.14  {
    4.15 -	src=$PACKAGE
    4.16  	mkdir -p $fs/usr/bin
    4.17  	cp -a $src/dd_rescue $fs/usr/bin
    4.18  }
    4.19  
    4.20 -clean_wok()
    4.21 -{
    4.22 -	rm -rf $WOK/$PACKAGE/$PACKAGE
    4.23 -}
    4.24 -
     5.1 --- a/electric-fence/receipt	Sun Feb 20 06:53:59 2011 +0000
     5.2 +++ b/electric-fence/receipt	Sun Feb 20 07:06:28 2011 +0000
     5.3 @@ -14,7 +14,6 @@
     5.4  # Rules to configure and make the package.
     5.5  compile_rules()
     5.6  {
     5.7 -	src=${PACKAGE}-${VERSION}
     5.8  	cd $src
     5.9  	
    5.10  	make 
    5.11 @@ -23,7 +22,6 @@
    5.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.13  genpkg_rules()
    5.14  {
    5.15 -	src=${PACKAGE}-${VERSION}
    5.16  	mkdir -p $fs/usr/lib  $fs/usr/bin
    5.17  	cp -a $src/eftest $fs/usr/bin
    5.18  	cp -a $src/tstheap $fs/usr/bin
     6.1 --- a/freeradius-dialupadmin/receipt	Sun Feb 20 06:53:59 2011 +0000
     6.2 +++ b/freeradius-dialupadmin/receipt	Sun Feb 20 07:06:28 2011 +0000
     6.3 @@ -7,13 +7,13 @@
     6.4  MAINTAINER="Serge Daigle sdaigl@lacitec.on.ca"
     6.5  DEPENDS="php"
     6.6  WEB_SITE="http://www.freeradius.org/"
     6.7 +SOURCE="freeradius-server"
     6.8  WANTED="freeradius"
     6.9  CONFIG_FILES="/etc/dialupadmin"
    6.10  
    6.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    6.12  genpkg_rules()
    6.13  {
    6.14 -	src=$(cd ../freeradius/freeradius-server-$VERSION;  pwd)
    6.15  	mkdir -p $fs/usr/share $fs/etc/dialupadmin
    6.16  	cp -a $src/dialup_admin $fs/usr/share
    6.17  	cp -a $src/dialup_admin/conf/* $fs/etc/dialupadmin
     7.1 --- a/input-utils/receipt	Sun Feb 20 06:53:59 2011 +0000
     7.2 +++ b/input-utils/receipt	Sun Feb 20 07:06:28 2011 +0000
     7.3 @@ -15,7 +15,6 @@
     7.4  # Rules to configure and make the package.
     7.5  compile_rules()
     7.6  {
     7.7 -	src=$WOK/$PACKAGE/$SOURCE
     7.8  	cd $src
     7.9  	sed -i 's/input-recv lircd.conf/input-recv/' GNUmakefile
    7.10  	prefix="/usr"
    7.11 @@ -28,6 +27,6 @@
    7.12  genpkg_rules()
    7.13  {
    7.14  	mkdir -p $fs/usr
    7.15 -	cp -a $WOK/$PACKAGE/$SOURCE/_pkg/usr/bin $fs/usr
    7.16 +	cp -a $_pkg/usr/bin $fs/usr
    7.17  }
    7.18  
     8.1 --- a/libjpeg62/receipt	Sun Feb 20 06:53:59 2011 +0000
     8.2 +++ b/libjpeg62/receipt	Sun Feb 20 07:06:28 2011 +0000
     8.3 @@ -11,7 +11,6 @@
     8.4  # Rules to configure and make the package.
     8.5  compile_rules()
     8.6  {
     8.7 -	src=jpeg-$VERSION
     8.8  	cd $src
     8.9  	./configure --enable-shared --prefix=/usr \
    8.10  	--mandir=/usr/share/man $CONFIGURE_ARGS
    8.11 @@ -21,7 +20,6 @@
    8.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    8.13  genpkg_rules()
    8.14  {
    8.15 -	src=jpeg-$VERSION
    8.16  	mkdir -p $fs/usr/lib
    8.17  	cp -a $src/.libs/*.so.62* $fs/usr/lib
    8.18  }
     9.1 --- a/ndiswrapper-utils/receipt	Sun Feb 20 06:53:59 2011 +0000
     9.2 +++ b/ndiswrapper-utils/receipt	Sun Feb 20 07:06:28 2011 +0000
     9.3 @@ -16,8 +16,6 @@
     9.4  genpkg_rules()
     9.5  {
     9.6  	
     9.7 -	src=${WOK}/${WANTED}/${SOURCE}-${VERSION}
     9.8 -	
     9.9  	mkdir -p $fs/usr/sbin $fs/sbin 
    9.10  	
    9.11  	# Install utilities	
    10.1 --- a/ntpclient/receipt	Sun Feb 20 06:53:59 2011 +0000
    10.2 +++ b/ntpclient/receipt	Sun Feb 20 07:06:28 2011 +0000
    10.3 @@ -13,7 +13,6 @@
    10.4  # Rules to configure and make the package.
    10.5  compile_rules()
    10.6  {
    10.7 -	src=$PACKAGE-2007
    10.8  	cd $src
    10.9  	
   10.10  	# disable debug
   10.11 @@ -23,17 +22,10 @@
   10.12  
   10.13  # Rules to gen a SliTaz package suitable for Tazpkg.
   10.14  genpkg_rules()
   10.15 -{
   10.16 -	src=$PACKAGE-2007		
   10.17 +{	
   10.18  	mkdir -p $fs/usr/bin
   10.19  	cp -a $src/ntpclient  $fs/usr/bin
   10.20  	strip -s $fs/usr/bin/*
   10.21 -}	
   10.22 -	
   10.23 -
   10.24 -clen_rules()
   10.25 -{
   10.26 -	rm -rf $PWD/$PACKAGE
   10.27  }
   10.28  
   10.29  post_install()
    11.1 --- a/ocsreports/receipt	Sun Feb 20 06:53:59 2011 +0000
    11.2 +++ b/ocsreports/receipt	Sun Feb 20 07:06:28 2011 +0000
    11.3 @@ -15,12 +15,10 @@
    11.4  # Rules to gen a SliTaz package suitable for Tazpkg.
    11.5  genpkg_rules()
    11.6  {
    11.7 -	src=$WOK/$WANTED/$SOURCE-$VERSION
    11.8 -	
    11.9  	mkdir -p $fs/usr/share \
   11.10  		$fs/etc/ocsreports
   11.11  		
   11.12 -	cp -a $WOK/$WANTED/${SOURCE}-${VERSION}/${PACKAGE} $fs/usr/share/
   11.13 +	cp -a $src/${PACKAGE} $fs/usr/share/
   11.14  	cat > $fs/etc/ocsreports/dbconfig.inc.php <<EOT
   11.15  <?php 
   11.16  	\$_SESSION["SERVEUR_SQL"]="localhost";
   11.17 @@ -87,6 +85,8 @@
   11.18  
   11.19  post_remove()
   11.20  {
   11.21 +
   11.22 +	if [ -z $1 ]; then
   11.23  		echo -n "Would you like to remove data and database files.(y/n) "
   11.24  		read answer
   11.25  
   11.26 @@ -105,6 +105,7 @@
   11.27  		*)
   11.28  			;;
   11.29  		esac
   11.30 +	fi
   11.31  	
   11.32  }
   11.33  
    12.1 --- a/pidgin-facebookchat/receipt	Sun Feb 20 06:53:59 2011 +0000
    12.2 +++ b/pidgin-facebookchat/receipt	Sun Feb 20 07:06:28 2011 +0000
    12.3 @@ -15,7 +15,6 @@
    12.4  # Rules to configure and make the package.
    12.5  compile_rules()
    12.6  {
    12.7 -	src=$WOK/$PACKAGE/$PACKAGE
    12.8  	cd $src
    12.9  	mv Makefile Makefile.orig
   12.10  	sed -e 's/i686-pc-linux-gnu-gcc/gcc/' < Makefile.orig > Makefile
   12.11 @@ -26,14 +25,14 @@
   12.12  genpkg_rules()
   12.13  {
   12.14  	mkdir -p $fs/usr/lib/purple-2
   12.15 -	cp -a $PACKAGE/libfacebook.so $fs/usr/lib/purple-2
   12.16 +	cp -a $src/libfacebook.so $fs/usr/lib/purple-2
   12.17  	
   12.18  	# Pidgin icons
   12.19  	mkdir -p $fs/usr/share/pixmaps/pidgin/protocols/16x16
   12.20  	mkdir -p $fs/usr/share/pixmaps/pidgin/protocols/22x22
   12.21  	mkdir -p $fs/usr/share/pixmaps/pidgin/protocols/48x48
   12.22 -	cp -a $WOK/$PACKAGE/stuff/facebook_16x16.png $fs/usr/share/pixmaps/pidgin/protocols/16x16/facebook.png
   12.23 -	cp -a $WOK/$PACKAGE/stuff/facebook_22x22.png $fs/usr/share/pixmaps/pidgin/protocols/22x22/facebook.png
   12.24 -	cp -a $WOK/$PACKAGE/stuff/facebook_48x48.png $fs/usr/share/pixmaps/pidgin/protocols/48x48/facebook.png
   12.25 +	cp -a $stuff/facebook_16x16.png $fs/usr/share/pixmaps/pidgin/protocols/16x16/facebook.png
   12.26 +	cp -a $stuff/facebook_22x22.png $fs/usr/share/pixmaps/pidgin/protocols/22x22/facebook.png
   12.27 +	cp -a $stuff/facebook_48x48.png $fs/usr/share/pixmaps/pidgin/protocols/48x48/facebook.png
   12.28  }
   12.29  
    13.1 --- a/ttf-dejavu-extra/receipt	Sun Feb 20 06:53:59 2011 +0000
    13.2 +++ b/ttf-dejavu-extra/receipt	Sun Feb 20 07:06:28 2011 +0000
    13.3 @@ -13,7 +13,6 @@
    13.4  # Rules to gen a SliTaz package suitable for Tazpkg.
    13.5  genpkg_rules()
    13.6  {
    13.7 -	src=$WOK/$WANTED/$SOURCE-$VERSION
    13.8  	mkdir -p $fs/usr/share/fonts/truetype/ttf-dejavu
    13.9  	cp -a $src/ttf/* $fs/usr/share/fonts/truetype/ttf-dejavu
   13.10  	rm $fs/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
    14.1 --- a/wbarconf/receipt	Sun Feb 20 06:53:59 2011 +0000
    14.2 +++ b/wbarconf/receipt	Sun Feb 20 07:06:28 2011 +0000
    14.3 @@ -13,7 +13,6 @@
    14.4  # Rules to gen a SliTaz package suitable for Tazpkg.
    14.5  genpkg_rules()
    14.6  {
    14.7 -	src=${src%-*}
    14.8  	mkdir -p $fs/usr/bin $fs/usr/share/wbarconf \
    14.9  		$fs/usr/share/pixmaps
   14.10  	cp -a $src/wbarconf $fs/usr/bin
    15.1 --- a/zip/receipt	Sun Feb 20 06:53:59 2011 +0000
    15.2 +++ b/zip/receipt	Sun Feb 20 07:06:28 2011 +0000
    15.3 @@ -13,7 +13,6 @@
    15.4  # Rules to configure and make the package.
    15.5  compile_rules()
    15.6  {
    15.7 -	src=$WOK/$PACKAGE/zip30
    15.8  	cd $src
    15.9  	make -f unix/Makefile generic_gcc
   15.10  }
   15.11 @@ -21,7 +20,6 @@
   15.12  # Rules to gen a SliTaz package suitable for Tazpkg.
   15.13  genpkg_rules()
   15.14  {
   15.15 -	src=$WOK/$PACKAGE/zip30
   15.16  	mkdir -p $fs/usr/bin
   15.17  	cp -a $src/zip $fs/usr/bin
   15.18  	cp -a $src/zipcloak $fs/usr/bin