wok-next view dar/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 82b613cfd1e0
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="dar"
4 VERSION="2.6.10"
5 CATEGORY="system-tools"
6 SHORT_DESC="Disk archive"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://dar.linux.free.fr/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 COOKOPTS="force-arch" # different .h
16 BUILD_DEPENDS="attr-dev bzip2-dev e2fsprogs-dev gettext-dev gpgme-dev
17 libgcrypt-dev libgpg-error-dev lzo-dev upx xz-dev zlib-dev"
18 SPLIT="$PACKAGE-dev"
20 compile_rules()
21 {
22 ./configure \
23 --disable-static \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install
28 }
30 genpkg_rules()
31 {
32 case $PACKAGE in
33 dar)
34 copy @std
35 DEPENDS="gpgme libbzip2 libgcrypt liblzma lzo upx zlib"
36 CONFIG_FILES="/etc/darrc"
37 TAGS="backup"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="attr-dev bzip2-dev dar gpgme-dev libassuan-dev
42 libcap-dev libgcrypt-dev libgpg-error-dev lzo-dev xz-dev
43 zlib-dev"
44 ;;
45 esac
46 }