wok view snapper/receipt @ rev 24304

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 17 11:01:52 2022 +0000 (2022-01-17)
parents ca70cc6b85be
children 934055de50e2
line source
1 # SliTaz package receipt.
3 PACKAGE="snapper"
4 VERSION="0.8.7"
5 CATEGORY="base-system"
6 SHORT_DESC="The ultimate snapshot tool for Linux."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://snapper.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="ftp://ftp.suse.com/pub/projects/snapper/$TARBALL"
14 DEPENDS="acl attr dbus gcc83-lib-base libboost-system libboost-thread libxml2 \
15 util-linux-blkid util-linux-mount util-linux-uuid zlib"
16 BUILD_DEPENDS="btrfs-dev dbus-dev docbook-xsl e2fsprogs-dev gcc83
17 libboost-dev libboost-thread-dev libjson-c-dev lvm2 pkg-config
18 util-linux-mount-dev util-linux-uuid"
20 CONFIG_FILES="/etc/snapper"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 export LDFLAGS="$LDFLAGS -luuid"
27 ./configure \
28 CC=gcc-83 \
29 CXX=g++-83 \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 --disable-pam \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share
43 mkdir -p $fs/usr/lib
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/sbin $fs/usr
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/lib/zypp $fs/usr/lib
49 cp -a $install/usr/lib/snapper $fs/usr/lib
50 cp -a $install/usr/share/dbus* $fs/usr/share
51 cp -a $install/usr/share/locale $fs/usr/share
52 cp -a $install/etc $fs
53 }