wok rev 20042

Add snapper
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 29 20:35:56 2017 +0200 (2017-08-29)
parents 943ee4cf046f
children c057166ff777
files ipxe/receipt memtest/receipt snapper-dev/receipt snapper/receipt zerofree/receipt
line diff
     1.1 --- a/ipxe/receipt	Tue Aug 29 19:33:53 2017 +0100
     1.2 +++ b/ipxe/receipt	Tue Aug 29 20:35:56 2017 +0200
     1.3 @@ -37,7 +37,8 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir $fs/boot
     1.8 +	mkdir $fs/boot $install/usr/share
     1.9 +	cp -a $src/src/doc $install/usr/share
    1.10  	cp -a $src/src/bin/ipxe.lkrn $fs/boot/ipxe
    1.11  	OFS=$((0x156))
    1.12  	unix2dos <<EOT | dd bs=1 of=$fs/boot/ipxe conv=notrunc \
     2.1 --- a/memtest/receipt	Tue Aug 29 19:33:53 2017 +0100
     2.2 +++ b/memtest/receipt	Tue Aug 29 20:35:56 2017 +0200
     2.3 @@ -42,6 +42,8 @@
     2.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.5  genpkg_rules()
     2.6  {
     2.7 -	mkdir -p $fs/boot
     2.8 +	mkdir -p $fs/boot $install/usr/share/doc
     2.9 +	cp $src/README* $install/usr/share/doc
    2.10 +	cp $src/FAQ $install/usr/share/doc
    2.11  	cp $src/memtest.packed $fs/boot/memtest
    2.12  }
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/snapper-dev/receipt	Tue Aug 29 20:35:56 2017 +0200
     3.3 @@ -0,0 +1,20 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="snapper-dev"
     3.7 +VERSION="0.5.0"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="The ultimate snapshot tool for Linux, development files."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +LICENSE="GPL2"
    3.12 +WEB_SITE="http://snapper.io/"
    3.13 +WANTED="snapper"
    3.14 +
    3.15 +DEPENDS="snapper"
    3.16 +
    3.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.18 +genpkg_rules()
    3.19 +{
    3.20 +	mkdir -p $fs/usr/lib
    3.21 +	cp -a $install/usr/lib/*a $fs/usr/lib
    3.22 +	cp -a $install/usr/include $fs/usr
    3.23 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/snapper/receipt	Tue Aug 29 20:35:56 2017 +0200
     4.3 @@ -0,0 +1,43 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="snapper"
     4.7 +VERSION="0.5.0"
     4.8 +CATEGORY="base-system"
     4.9 +SHORT_DESC="The ultimate snapshot tool for Linux."
    4.10 +MAINTAINER="pascal.bellard@slitaz.org"
    4.11 +LICENSE="GPL2"
    4.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.13 +WEB_SITE="http://snapper.io/"
    4.14 +WGET_URL="ftp://ftp.suse.com/pub/projects/snapper/$TARBALL"
    4.15 +CONFIG_FILES="/etc/snapper"
    4.16 +
    4.17 +DEPENDS="gcc49-lib-base libboost-thread libboost-system libxml2 acl attr zlib \
    4.18 +util-linux-mount util-linux-blkid util-linux-uuid dbus"
    4.19 +BUILD_DEPENDS="util-linux-mount-dev lvm2 btrfs-dev pkg-config dbus-dev gcc49 \
    4.20 +libboost-dev libboost-thread-dev e2fsprogs-dev docbook-xsl"
    4.21 +
    4.22 +# Rules to configure and make the package.
    4.23 +compile_rules()
    4.24 +{
    4.25 +	./configure CC=gcc-49 CXX=g++-49 --prefix=/usr \
    4.26 +		--infodir=/usr/share/info \
    4.27 +		--mandir=/usr/share/man \
    4.28 +		--disable-pam \
    4.29 +		$CONFIGURE_ARGS &&
    4.30 +	make &&
    4.31 +	make DESTDIR=$DESTDIR install
    4.32 +}
    4.33 +
    4.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.35 +genpkg_rules()
    4.36 +{
    4.37 +	mkdir -p $fs/usr/share $fs/usr/lib
    4.38 +	cp -a $install/usr/bin $fs/usr
    4.39 +	cp -a $install/usr/sbin $fs/usr
    4.40 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.41 +	cp -a $install/usr/lib/zypp $fs/usr/lib
    4.42 +	cp -a $install/usr/lib/snapper $fs/usr/lib
    4.43 +	cp -a $install/usr/share/dbus* $fs/usr/share
    4.44 +	cp -a $install/usr/share/locale $fs/usr/share
    4.45 +	cp -a $install/etc $fs
    4.46 +}
     5.1 --- a/zerofree/receipt	Tue Aug 29 19:33:53 2017 +0100
     5.2 +++ b/zerofree/receipt	Tue Aug 29 20:35:56 2017 +0200
     5.3 @@ -1,13 +1,13 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="zerofree"
     5.7 -VERSION="1.0.3"
     5.8 +VERSION="1.1.0"
     5.9  CATEGORY="base-system"
    5.10  SHORT_DESC="Keeping filesystem images sparse."
    5.11  MAINTAINER="pascal.bellard@slitaz.org"
    5.12  LICENSE="GPL2"
    5.13  TARBALL="$PACKAGE-$VERSION.tgz"
    5.14 -WEB_SITE="http://intgat.tigress.co.uk/rmy/uml/"
    5.15 +WEB_SITE="https://frippery.org/uml/"
    5.16  WGET_URL="${WEB_SITE}$TARBALL"
    5.17  
    5.18  DEPENDS="e2fsprogs"