wok-6.x rev 17380

Add iwatch +deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 26 13:45:57 2014 +0100 (2014-11-26)
parents 0257b6487f62
children 558a9a009ca6
files iwatch/receipt perl-common-sense/receipt perl-event/receipt perl-linux-inotify2/receipt perl-mail-sendmail/receipt syslinux/stuff/iso2exe/init xarchive/stuff/slitaz-wrap.sh
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/iwatch/receipt	Wed Nov 26 13:45:57 2014 +0100
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="iwatch"
     1.7 +VERSION="0.2.2"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="Realtime filesystem monitor."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tgz"
    1.13 +WEB_SITE="http://iwatch.sourceforge.net/"
    1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15 +
    1.16 +DEPENDS="perl-linux-inotify2 perl-event perl-mail-sendmail perl-xml-simple"
    1.17 +
    1.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.19 +genpkg_rules()
    1.20 +{
    1.21 +	mkdir -p $fs/usr/bin
    1.22 +	cp -a $src/iwatch $fs/usr/bin
    1.23 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/perl-common-sense/receipt	Wed Nov 26 13:45:57 2014 +0100
     2.3 @@ -0,0 +1,31 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="perl-common-sense"
     2.7 +VERSION="3.73"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="common::sense module is a Perl extension."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENCE="GPL"
    2.12 +SOURCE="common-sense"
    2.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.14 +WEB_SITE="http://cpan.org/"
    2.15 +WGET_URL="http://cpan.org/authors/id/M/ML/MLEHMANN/$TARBALL"
    2.16 +
    2.17 +DEPENDS="perl"
    2.18 +BUILD_DEPENDS="perl"
    2.19 +
    2.20 +# Rules to configure and make the package.
    2.21 +compile_rules()
    2.22 +{
    2.23 +	perl Makefile.PL
    2.24 +	make
    2.25 +	make DESTDIR=$DESTDIR install
    2.26 +}
    2.27 +
    2.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.29 +genpkg_rules()
    2.30 +{
    2.31 +	mkdir -p $fs/usr
    2.32 +	cp -a $install/usr/lib $fs/usr
    2.33 +}
    2.34 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/perl-event/receipt	Wed Nov 26 13:45:57 2014 +0100
     3.3 @@ -0,0 +1,32 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="perl-event"
     3.7 +VERSION="1.23"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="Event module is a Perl extension."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +LICENCE="GPL"
    3.12 +SOURCE="Event"
    3.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    3.14 +WEB_SITE="http://cpan.org/"
    3.15 +WGET_URL="http://cpan.org/authors/id/E/ET/ETJ/$TARBALL"
    3.16 +SUGGESTED="perl-time-hires"
    3.17 +
    3.18 +DEPENDS="perl"
    3.19 +BUILD_DEPENDS="perl"
    3.20 +
    3.21 +# Rules to configure and make the package.
    3.22 +compile_rules()
    3.23 +{
    3.24 +	perl Makefile.PL
    3.25 +	make
    3.26 +	make DESTDIR=$DESTDIR install
    3.27 +}
    3.28 +
    3.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.30 +genpkg_rules()
    3.31 +{
    3.32 +	mkdir -p $fs/usr
    3.33 +	cp -a $install/usr/lib $fs/usr
    3.34 +}
    3.35 +
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/perl-linux-inotify2/receipt	Wed Nov 26 13:45:57 2014 +0100
     4.3 @@ -0,0 +1,31 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="perl-linux-inotify2"
     4.7 +VERSION="1.22"
     4.8 +CATEGORY="development"
     4.9 +SHORT_DESC="Linux::Inotify2 module is a Perl extension."
    4.10 +MAINTAINER="pascal.bellard@slitaz.org"
    4.11 +LICENCE="GPL"
    4.12 +SOURCE="Linux-Inotify2"
    4.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    4.14 +WEB_SITE="http://cpan.org/"
    4.15 +WGET_URL="http://cpan.org/authors/id/M/ML/MLEHMANN/$TARBALL"
    4.16 +
    4.17 +DEPENDS="perl-common-sense"
    4.18 +BUILD_DEPENDS="perl"
    4.19 +
    4.20 +# Rules to configure and make the package.
    4.21 +compile_rules()
    4.22 +{
    4.23 +	perl Makefile.PL
    4.24 +	make
    4.25 +	make DESTDIR=$DESTDIR install
    4.26 +}
    4.27 +
    4.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.29 +genpkg_rules()
    4.30 +{
    4.31 +	mkdir -p $fs/usr
    4.32 +	cp -a $install/usr/lib $fs/usr
    4.33 +}
    4.34 +
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/perl-mail-sendmail/receipt	Wed Nov 26 13:45:57 2014 +0100
     5.3 @@ -0,0 +1,31 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="perl-mail-sendmail"
     5.7 +VERSION="0.79"
     5.8 +CATEGORY="development"
     5.9 +SHORT_DESC="Mail::Sendmail module is a Perl extension."
    5.10 +MAINTAINER="pascal.bellard@slitaz.org"
    5.11 +LICENCE="GPL"
    5.12 +SOURCE="Mail-Sendmail"
    5.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    5.14 +WEB_SITE="http://cpan.org/"
    5.15 +WGET_URL="http://cpan.org/authors/id/M/MI/MIVKOVIC/$TARBALL"
    5.16 +
    5.17 +DEPENDS="perl"
    5.18 +BUILD_DEPENDS="perl"
    5.19 +
    5.20 +# Rules to configure and make the package.
    5.21 +compile_rules()
    5.22 +{
    5.23 +	perl Makefile.PL
    5.24 +	make
    5.25 +	make DESTDIR=$DESTDIR install
    5.26 +}
    5.27 +
    5.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.29 +genpkg_rules()
    5.30 +{
    5.31 +	mkdir -p $fs/usr
    5.32 +	cp -a $install/usr/lib $fs/usr
    5.33 +}
    5.34 +
     6.1 --- a/syslinux/stuff/iso2exe/init	Mon Nov 24 16:18:41 2014 +0100
     6.2 +++ b/syslinux/stuff/iso2exe/init	Wed Nov 26 13:45:57 2014 +0100
     6.3 @@ -163,6 +163,7 @@
     6.4  arg subroot "Change root to directory"
     6.5  mount.posixovl -F /mnt/\$val -- -oallow_other -odefault_permissions -osuid
     6.6  mount --bind /mnt /mnt/\$val/mnt/dos
     6.7 +#mount -o size=0 -t tmpfs tmpfs /mnt/\$val/mnt/dos/\$val
     6.8  LDSO=\$(ls /mnt/\$val/lib/ld-* | sed q)
     6.9  export LD_LIBRARY_PATH=\$val/lib:\$val/usr/lib:/lib
    6.10    [ "$debug" = "true" ] && sh
     7.1 --- a/xarchive/stuff/slitaz-wrap.sh	Mon Nov 24 16:18:41 2014 +0100
     7.2 +++ b/xarchive/stuff/slitaz-wrap.sh	Wed Nov 26 13:45:57 2014 +0100
     7.3 @@ -49,6 +49,7 @@
     7.4  _7Z_EXTS="7z bcj bcj2 wim $BZIP2_EXTS $ZIP_EXTS $XZ_EXTS"
     7.5  _7Z_EXTS_X="chm cramfs dmg hfs mbr msi nsis ntfs udf vhd xar arj cab lzh rar \
     7.6  udf cpio $ISO_EXTS $FAT_EXTS $SQUASHFS_EXTS"
     7.7 +ZPAQ_EXTS="zpaq"
     7.8  
     7.9  while read var progs; do
    7.10  	eval $var=""
    7.11 @@ -321,6 +322,7 @@
    7.12  cromfs-driver	$CROMFS_EXTS
    7.13  fs/squashfs/squashfs	$SQUASHFS_EXTS
    7.14  drivers/block/cloop	$CLOOP_EXTS
    7.15 +zpaq		$ZPAQ_EXTS
    7.16  EOT
    7.17  	echo ""
    7.18  	exit
    7.19 @@ -430,6 +432,18 @@
    7.20  /^[\t ]+SymLink -> / { link=$3; attr="l"substr(attr, 2) }
    7.21  /^---/ { display() }
    7.22  '
    7.23 +#  Ver  Date      Time (UT) Attr           Size Ratio  File
    7.24 +# ----- ---------- -------- ------ ------------ ------ ----
    7.25 +# >   1 2012-04-10 11:47:56 100644          576 0.2611 /etc/skel/.profile
    7.26 +	in_exts $ZPAQ_EXTS && zpaq l "$archive" | awku '
    7.27 +/^>/ {
    7.28 +	date=$3
    7.29 +	time=$4
    7.30 +	attr=$5
    7.31 +	size=$6
    7.32 +	name=$8
    7.33 +	display()
    7.34 +}'
    7.35  # Desktop/up -> ..
    7.36  # lrwxrwxrwx     0/0           0       0 ****** -lhd- 0000 2009-05-03 16:59:03 [2]
    7.37  	in_exts $LHA_EXTS && lha v -q -v  "$archive" | awk0 '
    7.38 @@ -472,6 +486,7 @@
    7.39  arj	a		$ARJ_EXTS
    7.40  7zr	a\ -ms=off	$_7Z_EXTS
    7.41  lha	a		$LHA_EXTS
    7.42 +zpaq	a		$ZPAQ_EXTS
    7.43  EOT
    7.44  	;;
    7.45      -r) # remove from archive passed files
    7.46 @@ -489,6 +504,7 @@
    7.47  arj	d	$ARJ_EXTS
    7.48  lha	d	$LHA_EXTS
    7.49  7zr	d	$_7Z_EXTS
    7.50 +zpaq	d	$ZPAQ_EXTS
    7.51  EOT
    7.52  	;;
    7.53      -e) # extract from archive passed files
    7.54 @@ -520,6 +536,7 @@
    7.55  7zr		x\ -y\ -p-	x\ -y		$_7Z_EXTS $_7Z_EXTS_X
    7.56  unace		N/A		x\ -o\ -y	ace
    7.57  cabextract	-q		N/A		cab
    7.58 +zpaq		x		x\ -key		$ZPAQ_EXTS
    7.59  EOT
    7.60  	loop_fs $opt "$@"
    7.61  	;;