wok-current view snapper/receipt @ rev 21816

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