little probleme with tazwok to build packages

[ Thread Index | Date Index | More lists.tuxfamily.org/slitaz Archives ]


HELLO, I'VE READ THIS INTO TAZWOK :

# Configure and make a package with the receipt.
compile_package()
{...

	if [ ! "$SOURCE" = "" ]; then
		src=$WOK/$PACKAGE/$SOURCE-$VERSION
	else
		src=$WOK/$PACKAGE/$PACKAGE-$VERSION
	fi

....}

I THINK YOU MUST CHANGE IT TO :

# Configure and make a package with the receipt.
compile_package()
{...

	if [ ! "$SOURCE" = "" ]; then
		src=$WOK/$PACKAGE/$SOURCE
	else
		src=$WOK/$PACKAGE/$PACKAGE-$VERSION
	fi

....}

AND TELL TO "PACKAGES SUBMITTERS" THAT IF THE DIRECTORY INCLUDED INTO
$TARBALL IS NOT CALLED $PACKAGE-$VERSION,THEY MUST INDICATE IN THE
OPTIONNAL $SOURCE VAR, THE NAME OF THIS DIRECTORY.

FOR EXEMPLE, I'VE TRIED TO PACKAGE ICU :
$PACKAGE="icu4c"
$VERSION="*not important here*"
src="$WOK/$PACKAGE/icu/source"

I WAS UNABLE TO CD TO THE SOURCE DIRECTORY IN THE RECEIPT BECAUSE
THERE WAS NO -$VERSION IN THE DIRECTORY NAME.

IF YOU CHANGE IT, I'LL BE ABLE TO SPECIFY THE DIRECTORY NAME WITH :
$SOURCE="icu/source" and cd $src
OR $SOURCE="icu" and cd $src/source.

I'M SORRY IF IT'S DIFFICULT FOR YOU TO UNDERSTAND ME BUT I DON'T
SPEAK ENGLISH VERY WELL, I CAN EXPLAIN IT BETTER IF IT CAN HELP, BUT
IN FRENCH :-).

IF I'VE MADE A MISTAKE, THANKS TO EXPLAIN ME HOW TO USE IT BETTER.

HAVE A GOOD NIGHT

-- 
See Exclusive Video: 10th Annual Young Hollywood Awards
http://www.hollywoodlife.net/younghollywoodawards2008/


---
SliTaz GNU/Linux Mailing list.
Web site : http://www.slitaz.org/


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/