wok-current annotate snapper/receipt @ rev 21823

Add lxsession-lxpolkit (thanks Saipul)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 25 19:23:22 2019 +0200 (2019-08-25)
parents f5fed8df2464
children ca70cc6b85be
rev   line source
pascal@20042 1 # SliTaz package receipt.
pascal@20042 2
pascal@20042 3 PACKAGE="snapper"
pascal@21161 4 VERSION="0.8.3"
pascal@20042 5 CATEGORY="base-system"
pascal@20042 6 SHORT_DESC="The ultimate snapshot tool for Linux."
pascal@20042 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20042 8 LICENSE="GPL2"
pascal@20042 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20042 10 WEB_SITE="http://snapper.io/"
pascal@20042 11 WGET_URL="ftp://ftp.suse.com/pub/projects/snapper/$TARBALL"
pascal@20042 12 CONFIG_FILES="/etc/snapper"
pascal@20042 13
pascal@20042 14 DEPENDS="gcc49-lib-base libboost-thread libboost-system libxml2 acl attr zlib \
pascal@20042 15 util-linux-mount util-linux-blkid util-linux-uuid dbus"
pascal@20042 16 BUILD_DEPENDS="util-linux-mount-dev lvm2 btrfs-dev pkg-config dbus-dev gcc49 \
pascal@20042 17 libboost-dev libboost-thread-dev e2fsprogs-dev docbook-xsl"
pascal@20042 18
pascal@20042 19 # Rules to configure and make the package.
pascal@20042 20 compile_rules()
pascal@20042 21 {
pascal@20042 22 ./configure CC=gcc-49 CXX=g++-49 --prefix=/usr \
pascal@20042 23 --infodir=/usr/share/info \
pascal@20042 24 --mandir=/usr/share/man \
pascal@20042 25 --disable-pam \
pascal@20042 26 $CONFIGURE_ARGS &&
pascal@20042 27 make &&
pascal@20042 28 make DESTDIR=$DESTDIR install
pascal@20042 29 }
pascal@20042 30
pascal@20042 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20042 32 genpkg_rules()
pascal@20042 33 {
pascal@20042 34 mkdir -p $fs/usr/share $fs/usr/lib
pascal@20042 35 cp -a $install/usr/bin $fs/usr
pascal@20042 36 cp -a $install/usr/sbin $fs/usr
pascal@20042 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@20042 38 cp -a $install/usr/lib/zypp $fs/usr/lib
pascal@20042 39 cp -a $install/usr/lib/snapper $fs/usr/lib
pascal@20042 40 cp -a $install/usr/share/dbus* $fs/usr/share
pascal@20042 41 cp -a $install/usr/share/locale $fs/usr/share
pascal@20042 42 cp -a $install/etc $fs
pascal@20042 43 }