wok-current view snapper/receipt @ rev 20364
typo
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 18:45:36 2018 +0000 (2018-06-09) |
parents | |
children | 0eeee42fc2a2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="snapper"
4 VERSION="0.5.0"
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 }