wok-current annotate snapper/receipt @ rev 22693
Up libcurl (7.68.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 20 17:42:00 2020 +0100 (2020-01-20) |
parents | 0eeee42fc2a2 |
children | 759c9acb4a95 |
rev | line source |
---|---|
pascal@20042 | 1 # SliTaz package receipt. |
pascal@20042 | 2 |
pascal@20042 | 3 PACKAGE="snapper" |
pascal@22599 | 4 VERSION="0.8.6" |
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" |
pascal@20042 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20042 | 10 WEB_SITE="http://snapper.io/" |
pascal@20042 | 11 WGET_URL="ftp://ftp.suse.com/pub/projects/snapper/$TARBALL" |
pascal@20042 | 12 CONFIG_FILES="/etc/snapper" |
pascal@20042 | 13 |
pascal@22599 | 14 DEPENDS="gcc83-lib-base libboost-thread libboost-system libxml2 acl attr zlib \ |
pascal@20042 | 15 util-linux-mount util-linux-blkid util-linux-uuid dbus" |
pascal@22599 | 16 BUILD_DEPENDS="util-linux-mount-dev lvm2 btrfs-dev pkg-config dbus-dev gcc83 \ |
pascal@20042 | 17 libboost-dev libboost-thread-dev e2fsprogs-dev docbook-xsl" |
pascal@20042 | 18 |
pascal@20042 | 19 # Rules to configure and make the package. |
pascal@20042 | 20 compile_rules() |
pascal@20042 | 21 { |
pascal@22599 | 22 export LDFLAGS="$LDFLAGS -luuid" |
pascal@22599 | 23 ./configure CC=gcc-83 CXX=g++-83 --prefix=/usr \ |
pascal@20042 | 24 --infodir=/usr/share/info \ |
pascal@20042 | 25 --mandir=/usr/share/man \ |
pascal@20042 | 26 --disable-pam \ |
pascal@20042 | 27 $CONFIGURE_ARGS && |
pascal@20042 | 28 make && |
pascal@20042 | 29 make DESTDIR=$DESTDIR install |
pascal@20042 | 30 } |
pascal@20042 | 31 |
pascal@20042 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20042 | 33 genpkg_rules() |
pascal@20042 | 34 { |
pascal@20042 | 35 mkdir -p $fs/usr/share $fs/usr/lib |
pascal@20042 | 36 cp -a $install/usr/bin $fs/usr |
pascal@20042 | 37 cp -a $install/usr/sbin $fs/usr |
pascal@20042 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@20042 | 39 cp -a $install/usr/lib/zypp $fs/usr/lib |
pascal@20042 | 40 cp -a $install/usr/lib/snapper $fs/usr/lib |
pascal@20042 | 41 cp -a $install/usr/share/dbus* $fs/usr/share |
pascal@20042 | 42 cp -a $install/usr/share/locale $fs/usr/share |
pascal@20042 | 43 cp -a $install/etc $fs |
pascal@20042 | 44 } |