wok-current annotate snapper/receipt @ rev 24107

updated adminer (4.7.5 -> 4.8.1)
author Hans-G?nter Theisgen
date Sat Sep 25 17:50:51 2021 +0100 (2021-09-25)
parents ca70cc6b85be
children 934055de50e2
rev   line source
pascal@20042 1 # SliTaz package receipt.
pascal@20042 2
pascal@20042 3 PACKAGE="snapper"
Hans-G?nter@23653 4 VERSION="0.8.7"
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"
Hans-G?nter@23653 9 WEB_SITE="http://snapper.io/"
Hans-G?nter@23653 10
pascal@20042 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20042 12 WGET_URL="ftp://ftp.suse.com/pub/projects/snapper/$TARBALL"
Hans-G?nter@23653 13
Hans-G?nter@23653 14 DEPENDS="acl attr dbus gcc83-lib-base libboost-system libboost-thread libxml2 \
Hans-G?nter@23653 15 util-linux-blkid util-linux-mount util-linux-uuid zlib"
Hans-G?nter@23653 16 BUILD_DEPENDS="btrfs-dev dbus-dev docbook-xsl e2fsprogs-dev gcc83
Hans-G?nter@23653 17 libboost-dev libboost-thread-dev libjson-c-dev lvm2 pkg-config
Hans-G?nter@23653 18 util-linux-mount-dev util-linux-uuid"
Hans-G?nter@23653 19
pascal@20042 20 CONFIG_FILES="/etc/snapper"
pascal@20042 21
pascal@20042 22 # Rules to configure and make the package.
pascal@20042 23 compile_rules()
pascal@20042 24 {
pascal@22599 25 export LDFLAGS="$LDFLAGS -luuid"
Hans-G?nter@23653 26
Hans-G?nter@23653 27 ./configure \
Hans-G?nter@23653 28 CC=gcc-83 \
Hans-G?nter@23653 29 CXX=g++-83 \
Hans-G?nter@23653 30 --prefix=/usr \
Hans-G?nter@23653 31 --infodir=/usr/share/info \
Hans-G?nter@23653 32 --mandir=/usr/share/man \
Hans-G?nter@23653 33 --disable-pam \
pascal@20042 34 $CONFIGURE_ARGS &&
pascal@20042 35 make &&
pascal@20042 36 make DESTDIR=$DESTDIR install
pascal@20042 37 }
pascal@20042 38
pascal@20042 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20042 40 genpkg_rules()
pascal@20042 41 {
Hans-G?nter@23653 42 mkdir -p $fs/usr/share
Hans-G?nter@23653 43 mkdir -p $fs/usr/lib
Hans-G?nter@23653 44
Hans-G?nter@23653 45 cp -a $install/usr/bin $fs/usr
Hans-G?nter@23653 46 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@23653 47 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@23653 48 cp -a $install/usr/lib/zypp $fs/usr/lib
Hans-G?nter@23653 49 cp -a $install/usr/lib/snapper $fs/usr/lib
Hans-G?nter@23653 50 cp -a $install/usr/share/dbus* $fs/usr/share
Hans-G?nter@23653 51 cp -a $install/usr/share/locale $fs/usr/share
Hans-G?nter@23653 52 cp -a $install/etc $fs
pascal@20042 53 }