wok view snapper/receipt @ rev 23420

updated perl-yaml (0.71 -> 1.30)
author Hans-G?nter Theisgen
date Wed Apr 01 07:56:43 2020 +0100 (2020-04-01)
parents 0eeee42fc2a2
children 759c9acb4a95
line source
1 # SliTaz package receipt.
3 PACKAGE="snapper"
4 VERSION="0.8.6"
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="gcc83-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 gcc83 \
17 libboost-dev libboost-thread-dev e2fsprogs-dev docbook-xsl"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 export LDFLAGS="$LDFLAGS -luuid"
23 ./configure CC=gcc-83 CXX=g++-83 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --disable-pam \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/sbin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/lib/zypp $fs/usr/lib
40 cp -a $install/usr/lib/snapper $fs/usr/lib
41 cp -a $install/usr/share/dbus* $fs/usr/share
42 cp -a $install/usr/share/locale $fs/usr/share
43 cp -a $install/etc $fs
44 }