wok-current annotate snapper/receipt @ rev 24701
updated keyutils and keyutils-dev (1.6.1 -> 1.6.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 07:58:24 2022 +0100 (2022-03-14) |
parents | 934055de50e2 |
children | 976aaa1af0d2 |
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@24462 | 22 # What is the latest version available today? |
pascal@24462 | 23 current_version() |
pascal@24462 | 24 { |
pascal@24614 | 25 wget -O - https://github.com/openSUSE/snapper/tags 2>/dev/null | \ |
pascal@24614 | 26 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24462 | 27 } |
pascal@24462 | 28 |
pascal@20042 | 29 # Rules to configure and make the package. |
pascal@20042 | 30 compile_rules() |
pascal@20042 | 31 { |
pascal@22599 | 32 export LDFLAGS="$LDFLAGS -luuid" |
Hans-G?nter@23653 | 33 |
Hans-G?nter@23653 | 34 ./configure \ |
Hans-G?nter@23653 | 35 CC=gcc-83 \ |
Hans-G?nter@23653 | 36 CXX=g++-83 \ |
Hans-G?nter@23653 | 37 --prefix=/usr \ |
Hans-G?nter@23653 | 38 --infodir=/usr/share/info \ |
Hans-G?nter@23653 | 39 --mandir=/usr/share/man \ |
Hans-G?nter@23653 | 40 --disable-pam \ |
pascal@20042 | 41 $CONFIGURE_ARGS && |
pascal@20042 | 42 make && |
pascal@20042 | 43 make DESTDIR=$DESTDIR install |
pascal@20042 | 44 } |
pascal@20042 | 45 |
pascal@20042 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20042 | 47 genpkg_rules() |
pascal@20042 | 48 { |
Hans-G?nter@23653 | 49 mkdir -p $fs/usr/share |
Hans-G?nter@23653 | 50 mkdir -p $fs/usr/lib |
Hans-G?nter@23653 | 51 |
Hans-G?nter@23653 | 52 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23653 | 53 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@23653 | 54 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@23653 | 55 cp -a $install/usr/lib/zypp $fs/usr/lib |
Hans-G?nter@23653 | 56 cp -a $install/usr/lib/snapper $fs/usr/lib |
Hans-G?nter@23653 | 57 cp -a $install/usr/share/dbus* $fs/usr/share |
Hans-G?nter@23653 | 58 cp -a $install/usr/share/locale $fs/usr/share |
Hans-G?nter@23653 | 59 cp -a $install/etc $fs |
pascal@20042 | 60 } |